mirror of
https://github.com/GeorgeSG/dotfiles.git
synced 2026-09-04 00:18:44 +00:00
Enable vi mode in bash
This commit is contained in:
@@ -11,6 +11,9 @@ shopt -s checkwinsize
|
||||
# Disable Caret-C output
|
||||
stty -ctlecho
|
||||
|
||||
set -o vi
|
||||
bind -m vi-insert "\C-l":clear-screen
|
||||
|
||||
#so as not to be disturbed by Ctrl-S ctrl-Q in terminals:
|
||||
stty -ixon
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ override_git_prompt_colors() {
|
||||
GIT_PROMPT_CLEAN="${BoldCyan}✔"
|
||||
|
||||
GIT_PROMPT_SYMBOLS_AHEAD="${BoldCyan}↑"
|
||||
GIT_PROMPT_SYMBOLS_BEHIND="${BoldYellow}↓"
|
||||
GIT_PROMPT_SYMBOLS_BEHIND="${BoldMagenta}↓"
|
||||
GIT_PROMPT_SYMBOLS_PREHASH="${BoldRed}:"
|
||||
GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING=" "
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user