diff options
| -rw-r--r-- | bashrc | 4 | ||||
| -rw-r--r-- | inputrc | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -12,6 +12,10 @@ shopt -s histappend # append to history instead of overwriting shopt -s checkwinsize # check/update window dimenstions +# enable vi mode +set -o vi +bind -m vi-insert 'Control-l: clear-screen' + if [ "`id -u`" -eq 0 ]; then # some aliases to avoid making mistakes: alias rm='rm -i' @@ -0,0 +1,4 @@ +# history search with Page-Up/Down +"\e[5~": history-search-backward +"\e[6~": history-search-forward + |
