dotfiles/.config/fish/functions/fish_user_key_bindings.fish

4 lines
195 B
Fish
Raw Normal View History

function fish_user_key_bindings
bind -s --preset -M insert jj "if commandline -P; commandline -f cancel; else; set fish_bind_mode default; commandline -f backward-char repaint-mode; end"
end