Skip to content

Commit

Permalink
feat(default mode): change to insert mode after executed
Browse files Browse the repository at this point in the history
  • Loading branch information
tenfyzhong committed Apr 28, 2024
1 parent 9b5743d commit 536ab2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf.d/bang.fish
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ abbr -a _bang_special -r $_bang_special_regex --position anywhere --function _ba
set -gx _bang_gsub_regex '^\^(?<s1>[^^]+)\^(?<s2>[^^]+)\^$'
abbr -a _bang_gsub -r $_bang_gsub_regex --position anywhere --function _bang

bind -M default \r expand-abbr execute
bind -M default -m insert \r expand-abbr execute
bind -M insert \r expand-abbr execute

0 comments on commit 536ab2b

Please sign in to comment.