Re:Vim, you complete me
by sirdavidoff on Thursday July 12, 2012 @04:48PM
(#4236716)
Moving to vim from TextMate, I found that I missed TextMate's autocompletion.
In Vim you have to specify whether the word you're looking for is above or below the cusror (using C-P or C-N). IIRC, TextMate just looks for the closest matching word, no matter where it is.
I wrote a little plugin to do make it exactly that:
In Vim you have to specify whether the word you're looking for is above or below the cusror (using C-P or C-N). IIRC, TextMate just looks for the closest matching word, no matter where it is.
I wrote a little plugin to do make it exactly that:
https://github.com/sirdavidoff/vim-nearest-complete
Disclaimer: totally rough and not (yet) very customisable