On Nov 28, 4:29 am, "[EMAIL PROTECTED] [IMAP]" <[EMAIL PROTECTED]>
wrote:
> I tried to append the folowing lines to
> .vimrc file:
>
> map <C-left>   w
> map <C-right>  b
> imap <C-left>   w
> imap <C-right>  b
>

Out of curiosity, why are you mapping ctrl-LEFT to go one word to the
RIGHT and vice-versa? (FYI, the reverse should work out-of-the-box)

Are you using right-to-left text or something?

Also, your imaps wouldn't work even if Vim was receiving the <C-Left>
properly. You want "imap <c-left> <c-o>w" and "imap <c-right> <c-o>b"
instead. Otherwise, you'd just insert a w or b character into the text
with your mappings. See :help i_CTRL-O.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to