]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
lesskey: Add ^P/^N for line-edit to replace the arrow keys.
authorSimon Ruderich <simon@ruderich.org>
Fri, 31 Dec 2010 23:10:09 +0000 (00:10 +0100)
committerSimon Ruderich <simon@ruderich.org>
Fri, 31 Dec 2010 23:10:09 +0000 (00:10 +0100)
lesskey

diff --git a/lesskey b/lesskey
index 47cb71eec44da907009931ce7ef36ef78257eb25..dceb3129061df3a07524d6029407864f2c950822 100644 (file)
--- a/lesskey
+++ b/lesskey
@@ -10,6 +10,13 @@ h left-scroll
 l right-scroll
 
 
+#line-edit
+
+# Vim-like up/down to replace the arrow keys.
+^P up
+^N down
+
+
 #env
 
 # Set options for less.