summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohannst <stoelp@eit.uni-kl.de>2016-10-19 18:12:58 +0200
committerjohannst <stoelp@eit.uni-kl.de>2016-10-19 18:12:58 +0200
commit6fd0246b68f25812417536d5ba20e2d9df27cb67 (patch)
tree59089f3e72c8354bb7daf9545f15bc685cff4671
parent630c85719fb52e3edb9c98a04a716d956223c9d0 (diff)
downloaddotfiles-6fd0246b68f25812417536d5ba20e2d9df27cb67.tar.gz
dotfiles-6fd0246b68f25812417536d5ba20e2d9df27cb67.zip
moved inputrc keymaps to bashrc
-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