diff options
| author | Mehdi Sadeghi <mehdi@mehdix.org> | 2022-05-25 00:30:19 +0200 |
|---|---|---|
| committer | Mehdi Sadeghi <mehdi@mehdix.org> | 2022-05-25 00:30:19 +0200 |
| commit | dbb661005d7e6ccc0e33316323d02d60062be9a0 (patch) | |
| tree | 81166387881d20b2e4c64cbc9bc382f8f70a3274 /.inputrc | |
| parent | 86c3a2253e8761846e79bbf4164766a73bdfd732 (diff) | |
Change prompt to two lines and add nix.
Diffstat (limited to '.inputrc')
| -rw-r--r-- | .inputrc | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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 |
