summaryrefslogtreecommitdiff
path: root/.inputrc
diff options
context:
space:
mode:
authorMehdi Sadeghi <mehdi@mehdix.org>2022-05-25 00:30:19 +0200
committerMehdi Sadeghi <mehdi@mehdix.org>2022-05-25 00:30:19 +0200
commitdbb661005d7e6ccc0e33316323d02d60062be9a0 (patch)
tree81166387881d20b2e4c64cbc9bc382f8f70a3274 /.inputrc
parent86c3a2253e8761846e79bbf4164766a73bdfd732 (diff)
Change prompt to two lines and add nix.
Diffstat (limited to '.inputrc')
-rw-r--r--.inputrc12
1 files changed, 8 insertions, 4 deletions
diff --git a/.inputrc b/.inputrc
index 7c99c44..fa073e3 100644
--- a/.inputrc
+++ b/.inputrc
@@ -1,5 +1,9 @@
+$include /etc/inputrc
# 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
+"\e[A": history-search-backward
+"\e[B": history-search-forward
+"\eOA": history-search-backward
+"\eOB": history-search-forward
+Control-k: kill-whole-line
+Control-p: history-search-backward
+Control-n: history-search-forward