I'd like to be able to use Vim omni-completion in Makefiles, so that I can get auto-complete for target dependencies and such. Anybody know how to do this?
+2
A:
I'm not sure about omni-completion, but you can use normal completion in Vim.
For example if you have a target called 'installdocs', you can type:
ins<C-n>
and Vim will complete the target name for you.
Peter Stuifzand
2009-05-26 10:21:54
<C-n> will search forward for a matching word, <C-p> will search backwards. See also :help ins-completion
2009-05-27 15:10:25