added fish config

This commit is contained in:
nvrl committed 2025-07-30 11:46:46 +02:00
1 parent 44b40bc8e7
commit 7850c7bb0e
34 files changed
+765 -8

No files matched your search

+13
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