Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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:

https://github.com/sirdavidoff/vim-nearest-complete

Disclaimer: totally rough and not (yet) very customisable



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: