Monday, November 1, 2010

Using Bash in Vi mode. How to map keys?

is there any way to use the familiar :map and :ab commands when running bash
with "set -o vi"?

for example, if i want to map the following:
:inoremap ( ()<left>
how is it done?

can bash "understand" vi-like commands?

in other words, are the readline commands the ONLY solution, or is there
another way to map keys in bash?

thanks
alex

--
View this message in context: http://vim.1045645.n5.nabble.com/Using-Bash-in-Vi-mode-How-to-map-keys-tp3245193p3245193.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:

Post a Comment