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

php - How to pass multiple values from url -

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

database - php search bar when I press submit with nothing in the search bar it shows all the data -