How can I change the keybinding used to autocomplete in vim?
autocomplete, key-bindings, vim
Solution
if has("gui_running")
" C-Space seems to work under gVim on both Linux and win32
inoremap <C-Space> <C-n>
else " no gui
if has("unix")
inoremap <Nul> <C-n>
else
" I have no idea of the name of Ctrl-Space elsewhere
endif
endif
Problem
I'm not a big fan of `Ctrl-n`, I'd like to be able to use `Ctrl-Space`. Any ideas how I can do that?