]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - inputrc
lessfilter: support nfo files
[config/dotfiles.git] / inputrc
diff --git a/inputrc b/inputrc
index 0e702f12a0b177e2e54ad8e2e0bb6cbc19fb342a..aa7401363b2d8f3d487a649a272466125def90d4 100644 (file)
--- a/inputrc
+++ b/inputrc
@@ -1,6 +1,6 @@
 # Configuration file for readline.
 
-# Copyright (C) 2011-2012  Simon Ruderich
+# Copyright (C) 2011-2015  Simon Ruderich
 #
 # This file is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
 # along with this file.  If not, see <http://www.gnu.org/licenses/>.
 
 
-# Only one <tab> is necessary to get a list of all possible options.
+# Only one <Tab> is necessary to get a list of all possible options.
 set show-all-if-ambiguous on
 set show-all-if-unmodified on
 
@@ -34,8 +34,9 @@ set editing-mode vi
 
 # KEY BINDINGS
 
-# Use jj and jk to exit insert mode.
-"jj": vi-movement-mode
+# Insert mode.
+
+# Use jk to exit insert mode (jj is too slow to type).
 "jk": vi-movement-mode
 
 # <Up>/<Down> with the additional effect that only lines starting with the
@@ -43,3 +44,11 @@ set editing-mode vi
 # type the first few characters.
 "\C-p": history-search-backward
 "\C-n": history-search-forward
+
+# Allow <C-L> in Vi normal mode to clear the screen.
+"\C-L": clear-screen
+
+# Command mode.
+set keymap vi
+
+# No bindings yet.