]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - inputrc
inputrc: clear screen in insert mode with C-L
[config/dotfiles.git] / inputrc
diff --git a/inputrc b/inputrc
index 5e8c0b2c4c0d008ce2364db8a003ddb76903c703..63c660bf41cedb94edf67abaee37e08fc985bf39 100644 (file)
--- a/inputrc
+++ b/inputrc
@@ -1,6 +1,6 @@
 # Configuration file for readline.
 
-# Copyright (C) 2011-2012  Simon Ruderich
+# Copyright (C) 2011-2014  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
@@ -42,3 +42,6 @@ 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