Created
February 22, 2009 11:50
-
-
Save jsjohnst/68444 to your computer and use it in GitHub Desktop.
Bringing all the awesomeness of VI to the bash command prompt
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
set -o vi | |
# Goto begin of line | |
bind -m vi-command C-a:vi-insert-beg | |
bind -m vi-insert C-a:vi-insert-beg | |
# Goto end of line | |
bind -m vi-command C-e:vi-append-eol | |
bind -m vi-insert C-e:vi-append-eol | |
# clear screen | |
bind -m vi-command C-l:clear-screen | |
bind -m vi-insert C-l:clear-screen |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment