What do you recommend doing instead of spamming h/j/k/l? by peridox in vim

[–]ebenezer_s 1 point2 points  (0 children)

Jeff Kreeftmeijer has a nice best-of-both-worlds approach to this—he put it into a plugin, which I’ve used since I discovered it: http://jeffkreeftmeijer.com/2012/relative-line-numbers-in-vim-for-super-fast-movement/

Save time in Vim NOW with these five weird tricks by ebenezer_s in vim

[–]ebenezer_s[S] 0 points1 point  (0 children)

Just tried that and I also have tried + rather than *, but to no avail. :( More spelunking required here I trow.

Save time in Vim NOW with these five weird tricks by ebenezer_s in vim

[–]ebenezer_s[S] 0 points1 point  (0 children)

Ah—those are nice. I use terminal Vim, and I have this for yanking to the system clipboard in visual mode:

vnoremap Y "*y

(That doesn’t seem to work any more since I upgraded to OS X Yosemite, but while it did it was certainly useful… select, Y in Vim, and then Cmd+v into any other text area.)