Created
October 31, 2011 01:00
-
-
Save freshtonic/1326669 to your computer and use it in GitHub Desktop.
Vi on the command line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In your ~/.inputrc (make one if you don't have one): | |
set editing-mode vi | |
In your ~/.bashrc (or whatever) | |
set -o vi | |
Launch a new command prompt, you should have vi keybindings. If you get sick of it, set -o emacs will fix it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment