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'
|
2023-02-04 03:14:47 +00:00
|
|
|
bind --mode insert ,p 'nvim +"Telescope git_files"; commandline -f repaint'
|
|
|
|
bind --mode insert ,f 'nvim +"Telescope find_files"; commandline -f repaint'
|
2023-07-14 20:24:37 +00:00
|
|
|
bind --mode insert ,n 'nvim +Neotree; commandline -f repaint'
|
2023-02-17 21:58:18 +00:00
|
|
|
bind --mode insert ,v 'neovide; 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
|