On Sun, Apr 15, 2012 at 07:50:38PM EDT, Yue Wu wrote: > On Mon, 16 Apr 2012 05:26:01 +0800, Chris Jones <[email protected]> wrote: > > >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 > > > > Thank you, it works fine :) The only caveat being that I can only hope it doesn't break anything in your setup. I use <Ctrl-Space> to switch desktops, so in my case, Vim never gets to see it. | :h keycodes | :h index | :h map-special-chars | :h map-which-keys CJ -- Have a nice day! -- 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
