summaryrefslogtreecommitdiff
path: root/.inputrc
diff options
context:
space:
mode:
Diffstat (limited to '.inputrc')
-rw-r--r--.inputrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.inputrc b/.inputrc
new file mode 100644
index 0000000..b839bca
--- /dev/null
+++ b/.inputrc
@@ -0,0 +1,6 @@
+# Key bindings, up/down arrow searches through history
+"\e[A": history-substring-search-backward
+"\e[B": history-substring-search-forward
+-
+"\C-p": history-substring-search-backward
+"\C-n": history-substring-search-forward