Use some emacs-style key bindings

This commit is contained in:
Nick Chambers 2024-05-14 21:27:20 -05:00
parent a2eefa6f70
commit 9d6066380d
1 changed files with 15 additions and 0 deletions

15
.inputrc Normal file
View File

@ -0,0 +1,15 @@
set input-meta on
set output-meta on
$if mode=emacs
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[3~": delete-char
"\e[2~": quoted-insert
"\e[1;5C": forward-word
"\e[1;5D": backward-word
"\e[5C": forward-word
"\e[5D": backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word
$endif