index — dots-the-third @ ec94cc7699466753fa608f482cde8ef147a9cd7c

I don't need nix, I have a way worse solution!

fish/.config/fish/functions/_pisces_insert_identical.fish (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
function _pisces_insert_identical -a text -d "The binding command for a pair where the left and right delimiters are identical"
    if _pisces_should_insert $text
        _pisces_skip $text
        or _pisces_append $text
    else
        commandline -i -- $text
    end
end