Thursday, January 19, 2012

Question about command-line mode mapping

Hi,

I'm trying to add some shortcuts in the command-line mode, mainly I want

<C-B> to jump backward by word

The closer I was able to do was

:cnoremap <C-B> <S-LEFT> which jump backwards by WORD

or use <C-W> which delete backward by word

Is there anyway to do something like

:cnoremap <C-B> <do jump backward by word>

Thank you,
Ben.

--
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

No comments: