Better vi-mode for all programs using readline
To enable vi-mode keybindings for all prompts using readline
(ie. very useful with MySQL prompt), you may set it in your ~/.inputrc
likewise:
set keymap vi
set editing-mode vi
man readline
for more informations.
Written by Amin ZELFANI
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#