Files
dotfiles/fish/functions/_autopair_tab.fish
2026-02-10 14:50:15 +08:00

8 lines
247 B
Fish

function _autopair_tab
commandline --paging-mode && down-or-search && return
string match --quiet --regex -- '\$[^\s]*"$' (commandline --current-token) &&
commandline --function delete-char
commandline --function complete
end