Want Vi / Vim on your Bash command line

set -o vi 
into your ~/.bash_profile (on Mac) or ~/.bashrc (on Linux). 
Now, if you press Esc when you're on the command line, you can go backward/forward word-wise pressingB resp. W or bring-up Vim's VISUAL mode pressing V.
After pressing Esc you can press to get back to the INSERT mode to modify your command.


Popular posts from this blog

NetBeans 6.1: Working with Google´s Android SDK, Groovy and Grails

Tuning ext4 for performance with emphasis on SSD usage