diff --git a/bash-abbr b/bash-abbr index 78d0507..7e4ccdf 100644 --- a/bash-abbr +++ b/bash-abbr @@ -182,7 +182,9 @@ bash_abbr () { done bind -x '"\e\C-an": _try_abbrev ""' - bind '"\C-m": "\e\C-an\e^\C-j"' + bind '"\e\C-j": accept-line' + bind '"\C-m": "\e\C-an\e^\e\C-j"' + bind '"\C-j": "\C-m"' } # Disable plugin by commenting this line and uncommenting the line below that