From 8508aa15fb12e99e2a58993e713bcd4984cc001c Mon Sep 17 00:00:00 2001 From: tsi Date: Thu, 23 Oct 2025 01:07:13 +0200 Subject: [PATCH] #1: Allow expansion on \C-j --- bash-abbr | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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