]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
inputrc: Add Ctrl-P/N as replacements for arrow keys.
authorSimon Ruderich <simon@ruderich.org>
Fri, 10 Dec 2010 10:09:05 +0000 (11:09 +0100)
committerSimon Ruderich <simon@ruderich.org>
Fri, 10 Dec 2010 10:09:05 +0000 (11:09 +0100)
inputrc

diff --git a/inputrc b/inputrc
index 1b24fd2f9b780ab4827af38b1e79ea31f39982b4..fbb452f7a9a15f7e8f31d2081e5a43c0b3ce95b4 100644 (file)
--- a/inputrc
+++ b/inputrc
@@ -13,3 +13,6 @@ set editing-mode vi
 
 # Also use jj to exit insert mode.
 "jj": vi-movement-mode
+
+"\C-p": previous-history
+"\C-n": next-history