> Me too. `man readline` talks about key binding or both emacs > and vi mode and inputrc. And yet one program that I use seems > to ignore ~/.inputrc . I bug the developer but null response. > I guess it is up the program to use that ~/.inputrc that why I > added the word "should" in my first message.
Your message has inspired me to small investigation. Result: you can use readline and VI-like keybindings with any kind of CLI apps, even with those which are not linked with readline - for example with oracle's sqlplus: The trick described here [1] and uses 'rlwrap', readline wrapper program. ~/.inputrc: # settings pointed by bill lam on vim_use set editing-mode vi set keymap vi set convert-meta on ~/.bashrc: # ... alias sqlplus='rlwrap sqlplus' # ... This works really. One strange thing though: ct<char>, cf<char> commands aren't work as in bash, but remaining is ok so far. With <C-R> you can start to incrementally search the last entered sql statements. Very useful addition to dbext plugin, for all vim'ers who uses oracle. -- Anton [1] how to edit command-line in sqlplus and rman (unix case) http://www.oracledba.ru/notes_sqlplus_readline_en.html --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
