diff options
author | Anthony Wang | 2024-10-16 00:16:01 -0400 |
---|---|---|
committer | Anthony Wang | 2024-10-16 00:16:01 -0400 |
commit | 4be8319c4a7528c1e61cac68549174c3be17adc5 (patch) | |
tree | 0c504025d6becaa1ca12b637d3ef7455f065c4de /fish | |
parent | 090e196cd5df00bef110736ad92eb8c31e64cada (diff) |
Improve delete word shortcuts for fish and micro
I had no idea that it's so complicated to do this with terminals!
Diffstat (limited to 'fish')
-rw-r--r-- | fish/config.fish | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fish/config.fish b/fish/config.fish index d1cdc8a..75b6e95 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -13,3 +13,9 @@ abbr -a -- p 'git push' abbr -a -- q 'git pull' abbr -a -- s 'git status' abbr -a -- t 'gio trash' + +# https://github.com/fish-shell/fish-shell/issues/4770 +# https://github.com/fish-shell/fish-shell/commit/2e9de57fd78f1c9ee0e71e141b75bb2b24abfc2d +# Remove after Fish 4.0 +bind \cH backward-kill-word +bind \e\[3\;5~ kill-word |