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,13 @@
function _autopair_insert_left --argument-names left right
set --local buffer (commandline)
set --local before (commandline --cut-at-cursor)
commandline --insert -- $left
switch "$buffer"
case "$before"{," "\*,$autopair_right\*}
set --local index (commandline --cursor)
commandline --insert -- $right
commandline --cursor $index
end
end