summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bashrc2
-rw-r--r--inputrc5
2 files changed, 2 insertions, 5 deletions
diff --git a/bashrc b/bashrc
index db0ff88..cf7428c 100644
--- a/bashrc
+++ b/bashrc
@@ -8,6 +8,8 @@ if [ "$TERM" == "xterm" ]; then export TERM=xterm-256color; fi
# enable vi mode (use 'bind -P' to see bindings)
set -o vi
+bind -m vi-insert '"jj":vi-movement-mode'
+bind -m vi-insert 'Control-l:clear-screen'
# disable sticky mode
stty -ixon
diff --git a/inputrc b/inputrc
deleted file mode 100644
index 06ef8a9..0000000
--- a/inputrc
+++ /dev/null
@@ -1,5 +0,0 @@
-# dotfiles -- inputrc
-# author: johannst
-
-set keymap vi-insert
-"jj": vi-movement-mode