I recently installed vim 7. The only autocomplete I can find it the
omnicomplete, using CTRL-X CTRL-O. Is there a way to make
auto-completion automatic, and if not, is there a way to change the
shortcut so I don’t have to hit CTRL-X CTRL-O every time?
On Monday 18 September 2006 12:35, A. S. Bradbury wrote:
Check out supertab[1], it allows you to use tab for the completion type of
your choice, tab will work as normal when the cursor is not at the end of a
word.
I recently installed vim 7. The only autocomplete I can find it the
omnicomplete, using CTRL-X CTRL-O. Is there a way to make
auto-completion automatic, and if not, is there a way to change the
shortcut so I don’t have to hit CTRL-X CTRL-O every time?
Thanks in advance.
Check out supertab[1], it allows you to use tab for the completion type
of
your choice, tab will work as normal when the cursor is not at the end
of a
word.
As the options suggestion, just add the following to your .vimrc for tab
to
map to omni-completion:
let g:SuperTabDefaultCompletionType = “”
Regards,
Alex
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.