118667Re: Using Bash in Vi mode. How to map keys?
- Nov 1, 2010In bash "vi" mode, one can press v and then get a full vim editor.
Then you will have everything you need.
Hope it helps,
On 11/1/10, Tony Mechelynck <antoine.mechelynck@...> wrote:
> On 01/11/10 19:23, aleCodd wrote:
>> thanks for the reply.
>> so what is the equivalent for the following:
>> ino ( ()<left>
>> using the readline module?
> I don't know. These are all bash questions, not Vim questions. Maybe a
> bash list or forum would be better than the Vim list. Have you read the
> bash manpage?
>> and if you could please be more precise, is the readline library the only
>> utility for mapping keys in bush?
>> if yes, is there any interpreter i can use to convert Vim's mapping
>> to readline commands?
>> One other thing, is there a way to change the cursor shape and color -
>> running bash in vi mode - so that the shape and size of the cursor would
>> different for different modes (insert/normal), like the 't_SI' or
>> 'guicursor' in vim/gvim..?
> no AFAIK, because bash is not a modal editor
> The misnaming of fields of study is so common as to lead to what might
> be general systems laws. For example, Frank Harary once suggested the
> law that any field that had the word "science" in its name was
> guaranteed thereby not to be a science. He would cite as examples
> Military Science, Library Science, Political Science, Homemaking
> Science, Social Science, and Computer Science. Discuss the generality
> of this law, and possible reasons for its predictive
> -- Gerald Weinberg, "An Introduction to General Systems
> 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
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
- << Previous post in topic Next post in topic >>