2013-11-03

Vim reading list

For years when I needed to search for something in 'vim', I would use the '/' command and type the search key. Usually this would be inefficient, because I would be typing the name of a function that was right there on the screen (sometimes I would use the mouse to copy-and-paste to save a few keystrokes, taxing my brain with yet another keyboard/mouse context switch and exacerbating my "mouse finger" syndrome). Imagine my surprise to learn that Vim has a '*' command to search for whatever word happens to be under the cursor! And then there are the 'n' and 'N' commands which search forwards and backwards, respectively, for the last search key.


Vim reading list:

No comments:

Post a Comment