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

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -