3 ms·
The command line navigation commands are just what any Emacs user would expect. vi users can set their $EDITOR to 'vi' to get those commands. What do you mean
by patrickmay 13y ago
The command line navigation commands are just what any Emacs user would expect. vi users can set their $EDITOR to 'vi' to get those commands.
What do you mean you've never used Emacs? mumble whippersnappers mumble
- yaychris 13y agoUse `set -o vi` to get vi navigation commands on the command line. EDIT: In bash, that is. It's `bindkey -v` in zsh.
- Apes 13y agoset -o vi works in zsh as well.
- a3n 13y agoDo it in .inputrc like this: set editing-mode vi Now any executable that uses readline will have vi editing commands on its command line. mysql, psql, etc. Do as much of your command line editing configuration in .inputrc as possible, and you'll have it everywhere. EDIT: man readline