]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
inputrc: add instructions to map keys in Vi command mode
authorSimon Ruderich <simon@ruderich.org>
Thu, 29 May 2014 22:26:33 +0000 (00:26 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 10 Jun 2014 17:58:19 +0000 (19:58 +0200)
inputrc

diff --git a/inputrc b/inputrc
index 63c660bf41cedb94edf67abaee37e08fc985bf39..cf06ec1a18a4962b348cf48ec3124c221d85303f 100644 (file)
--- a/inputrc
+++ b/inputrc
@@ -34,6 +34,8 @@ set editing-mode vi
 
 # KEY BINDINGS
 
+# Insert mode.
+
 # Use jk to exit insert mode (jj is too slow).
 "jk": vi-movement-mode
 
@@ -45,3 +47,8 @@ set editing-mode vi
 
 # Allow <C-L> in Vi normal mode to clear the screen.
 "\C-L": clear-screen
+
+# Command mode.
+set keymap vi
+
+# No bindings yet.