2020-03-02 03:32:03 +00:00
|
|
|
function fish_user_key_bindings
|
2021-12-13 05:16:38 +00:00
|
|
|
bind --mode insert jj "if commandline -P; commandline -f cancel; else; set fish_bind_mode default; commandline -f backward-char repaint-mode; end"
|
|
|
|
bind --mode insert ,a 'ssh_add; commandline -f repaint'
|
|
|
|
bind --mode insert ,j 'joplin; commandline -f repaint'
|
|
|
|
bind --mode insert ,p 'nvim +FZF; commandline -f repaint'
|
|
|
|
bind --mode insert ,w 'nvim +VimwikiIndex; commandline -f repaint'
|
|
|
|
bind --mode insert ,n 'n; commandline -f repaint'
|
2021-12-16 21:51:31 +00:00
|
|
|
bind --mode insert ,s 'sysz; commandline -f repaint'
|
2020-03-02 03:32:03 +00:00
|
|
|
end
|