added fish config

This commit is contained in:
2025-07-30 11:46:46 +02:00
parent 44b40bc8e7
commit 7850c7bb0e
34 changed files with 765 additions and 8 deletions

View File

@@ -0,0 +1,9 @@
function _autopair_backspace
set --local index (commandline --cursor)
set --local buffer (commandline)
test $index -ge 1 &&
contains -- (string sub --start=$index --length=2 -- "$buffer") $autopair_pairs &&
commandline --function delete-char
commandline --function backward-delete-char
end