2021-05-04 09:47:58 -04:00
|
|
|
#!/usr/local/bin/fish
|
|
|
|
|
|
|
|
function fish_user_key_bindings
|
|
|
|
bind -M insert \co 'edit'
|
2021-11-15 11:17:34 -05:00
|
|
|
bind -M default \co 'edit'
|
|
|
|
bind -M insert \ca 'cd ~; and edit; and commandline -a "; cd -"; commandline -f execute'
|
|
|
|
bind -M default \ca 'cd ~; and edit; and commandline -a "; cd -"; commandline -f execute'
|
2021-05-04 09:47:58 -04:00
|
|
|
bind -M insert \ce 'recent'
|
2021-11-15 11:17:34 -05:00
|
|
|
bind -M default \ce 'recent'
|
2021-05-04 11:38:00 -04:00
|
|
|
bind -M insert \cg 'commandline-git-commits'
|
2021-07-06 22:18:30 -04:00
|
|
|
bind -M insert \cf 'fcd'
|
2021-11-15 11:17:34 -05:00
|
|
|
bind -M default \cf 'fcd'
|
2021-08-26 10:44:38 -06:00
|
|
|
bind -M insert \cp 'prj'
|
|
|
|
bind -M default \cp 'prj'
|
2021-05-05 08:32:39 -04:00
|
|
|
bind -M insert \x1F accept-autosuggestion
|
2021-05-12 18:59:22 -04:00
|
|
|
bind -M default \x1F accept-autosuggestion
|
2021-05-04 09:47:58 -04:00
|
|
|
end
|