Occasionally, you’ll watch a video of an experienced emacs or vim user and have no idea what’s going on. Text flying everywhere, things getting done in a fraction of the time it seems like they should take, the mouse cursor nowhere in sight, presumably cowering offscreen and considering early retirement .
Although I use the scary modal editor vim and feel like it does increase my text editing efficiency over using a normal editor, I’m hardly proficient with many of its features.
Once every few days, I’ll come across a tedious seeming editing task and be like: “a-ha! Time to use a macro and chop this Gordian knot to pieces!” And then about 15 minutes later, I’m thinking: “Should’ve just done that by hand.”
The problem is that there are lots of handy plug-ins and features, but even after reading about them and deciding they’re a good idea, I don’t get to the point where they’re encoded in muscle memory before forgetting about them.
So I’ve been putting up one sticky note per week on my monitor reminding myself of features I want to use.
For example, this week’s note is about the
vim-surround plugin, which really helps with editing HTML/JSX/etc, and
cst<p> - change tag cst<p enter - change tag but keep attriutes cs"' dbl to single quotes ds" delete quotes yss) wrap line in parens