Tuesday, November 2, 2010

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

Reply to message «Re: Using Bash in Vi mode. How to map keys?»,
sent 17:47:30 02 November 2010, Tuesday
by aleCodd:

> Can I be more specific?
>
> I want to bind in bash something equivalent to:
> :inoremap " ""<left>
>
> Now, this mapping is so common that i'm sure that millions of people have
> tried it before me (for Bash), so would you say that still there is NO WAY
> that i can bind the above in .inputrc for bash?
I use «,s», «,f», «,u», «,h», «,"» «,'» for «()», «{}», «<>», «[]», «""», «''»
respectively. Having «"» mapped to «""» is very annoying when I do not need to
have two double strokes what is common. And having to type symbols from the top
row even without shift (programmer dvorak) is inconvinient.

No comments:

Post a Comment