Per Thulin wrote: > Hi dear list of fellow vim users, I wanted to remap some keys: > > cm <c-a> <c-b> > cm <c-f> <right> > cm <c-b> <left> > > But now <c-a> goes one character to the left! Can I set <c-a> directly > to the command to go to the beginning of the line?
Use :cnoremap instead of :cmap This avoids the <c-a> mapping <c-b> to be reinterpreted again as <left>. -- Andreas. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
