Daniel Borchmann
fed4dc8d38
When bash is started without readline support, redefining bindings in .bashrc yields warnings. This is the case when starting bash as in Emacs' shell-mode, among others. Moving the keybindings to inputrc fixes this, and should make the bindings available to all programs using readline.
5 lines
104 B
Plaintext
5 lines
104 B
Plaintext
# Enable Emacs-style M-p and M-n behavior
|
|
"\ep": history-search-backward
|
|
"\en": history-search-forward
|
|
|