diff --git a/bashrc b/bashrc index bbe5994..5db9bbf 100644 --- a/bashrc +++ b/bashrc @@ -26,10 +26,6 @@ shopt -s extglob # Update the values of LINES and COLUMNS. shopt -s checkwinsize -# Enable Emacs-style M-p and M-n behavior -bind '"\ep": history-search-backward' -bind '"\en": history-search-forward' - # make less more friendly for non-text input files, see lesspipe(1) [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" diff --git a/inputrc b/inputrc new file mode 100644 index 0000000..fee3a46 --- /dev/null +++ b/inputrc @@ -0,0 +1,4 @@ +# Enable Emacs-style M-p and M-n behavior +"\ep": history-search-backward +"\en": history-search-forward +