On Wed, 2009-03-11 at 08:46 +0100, Anton Sharonov wrote: > I have decided to move the conversation to it's own thread, since > it is unrelated to "Best command key for use with GNU screen". > > > > > bill lam wrote: > > > > > ... > > > > > > > > > > For the bash shell I use the vi key binding. Type "esc 0" will > > > > > move to the beginning just the same as vim. In fact programs > > > > > (including bash) that use readline should use vi key binding by > > > > > customizing the ~/.inputrc > > > > > > > > > > # set editing mode to vi-like key binding > > > > > set editing-mode vi > > > > > set keymap vi > > > > > set convert-meta on > > > > > > > > > > ... not sure how this equates with the above, but I generally just add
set -o vi to my .bashrc or .bash_profile and when logging into a system where that isn't the default, just entering 'set -o vi' on the command line gives me vi bindings for command line and search history, etc. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---