]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
inputrc: jj exits insert mode.
authorSimon Ruderich <simon@ruderich.org>
Fri, 10 Dec 2010 10:07:33 +0000 (11:07 +0100)
committerSimon Ruderich <simon@ruderich.org>
Fri, 10 Dec 2010 10:07:33 +0000 (11:07 +0100)
Remove "set keymap vi" because it causes problems with the jj mapping.

inputrc

diff --git a/inputrc b/inputrc
index b18da701cb36a0fda34715509bfb37621fc7b328..1b24fd2f9b780ab4827af38b1e79ea31f39982b4 100644 (file)
--- a/inputrc
+++ b/inputrc
@@ -7,4 +7,9 @@ set show-all-if-unmodified on
 
 # Activate Vi editing mode.
 set editing-mode vi
-set keymap vi
+
+
+# KEY BINDINGS
+
+# Also use jj to exit insert mode.
+"jj": vi-movement-mode