Tuesday, November 2, 2010

Re: Using Bash in Vi mode. How to map keys?

Eran Borovik wrote:
>
> In bash "vi" mode, one can press v and then get a full vim editor.
> Then you will have everything you need.
>
> Hope it helps,
> Eran.
>

I still have 2 problems with that, first i don't know how to "submit" the
command back to bash after editing the command on vim, and second its really
over the top, to switch back and forth between bash and vim for every single
command.

another problem im struggling now, is to find out what is the equivalent to
":noremap" in when binding keys in .inputrc for bash.

I mean, sure you can bind the following:
"a":"b"
but how do you bind:
"a":"aa"
because this will not work because it will enter into an ENDLESS LOOP by
remapping the 'a' character to itself...

cheers
alex
--
View this message in context: http://vim.1045645.n5.nabble.com/Using-Bash-in-Vi-mode-How-to-map-keys-tp3245193p3246648.html
Sent from the Vim - General mailing list archive at Nabble.com.

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