Sunday, April 15, 2012

Re: How to map in maemo's vim

On Sun, Apr 15, 2012 at 09:47:11AM EDT, Yue Wu wrote:

> I'm using vim on maemo, which is a OS for nokia's n900 smartphone.
>
> I'm trying to map ctrl-space to a function, but nmap <ctrl-space>
> :call Myfunc()<CR> does nothing. When I hit <C-v><ctrl-space> in
> insert mode, vim inputs ^@, so I also tried with nmap ^@ :call
> Myfunc()<CR>, but still not work, what should I do?

Try:

:map <C-@> :call Myfunc()<CR>

CJ

--
WHAT YOU SAY??

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: