linux - how to map ctrl + p to ctrl + space on vim sshd using mac terminal -
linux - how to map ctrl + p to ctrl + space on vim sshd using mac terminal -
im using mac terminal ssh remote linux server.
for autocompletion in vim, default key combo ctrl + p. how can alter ctrl + space ?
most terminal emulators — , programs run in them — don't recognize <c-space> <c-space> @ all. vim gets null, noted <c-@> instead , acts if typed <c-@> insert mode command inserts lastly inserted text.
so, basically, can't map <c-space>.
what can do, though, map <c-@>:
inoremap <c-@> <c-p> linux osx vim terminal
Comments
Post a Comment