On Oct 23, 4:56 pm, PabloHot <[email protected]> wrote: > Hi All, > I'm trying something like :map <C--> ... but just cannot get this to work. > I have tried using Ctrl-K to enter the '-' key, using {minus}, but the > mapping does nothing when I type it. If I map map '-' > on its own it works perfectly , but just cannot get it to work when using > the Ctrl key. Is this a bug, or a I an idiot? Please help!!! > Sincerely, > Pablo Contreras
This should be Vim FAQ number 1. It is really "frequently asked". See answers by Tony Mechelynck: http://groups.google.com/group/vim_use/browse_thread/thread/e957885e2b2374c6/ http://groups.google.com/group/vim_use/browse_thread/thread/e080ea2a2cfca445/ http://groups.google.com/group/vim_use/browse_thread/thread/ab2bc69a0c7a4a00/ http://groups.google.com/group/vim_use/browse_thread/thread/a0d1176156bc7078/ http://groups.google.com/group/vim_use/browse_thread/thread/b105423d49fdfaf6/ http://groups.google.com/group/vim_use/browse_thread/thread/8812aaa9723f65df/ Ctrl-{Key} in Vim means ASCII control character: http://en.wikipedia.org/wiki/ASCII#ASCII_control_characters The easiest is to map with <Leader> or <LocalLeader>. -- You received this message from the "vim_dev" 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
