On Mar 24, 11:01 am, Andreas Bernauer <[email protected]> wrote:
>
> Use :cnoremap instead of :cmap
>
> This avoids the <c-a> mapping <c-b> to be reinterpreted again as <left>.
>
In general, the "noremap" commands will map the left side to the BUILT
IN functionality of the right side, wheras the "map" commands map the
left side to the CURRENT functionality of the right side.
In your case, you pressed <C-A> which Vim interpreted as <C-B>, but
then (because you used "map" instead of "noremap") went on to
interpret that <C-B> as <Left>.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---