fish keybind updates

This commit is contained in:
Noah Masur 2021-11-15 11:17:34 -05:00
parent 06a455fcf4
commit b9747c4e6f

View File

@ -2,10 +2,14 @@
function fish_user_key_bindings function fish_user_key_bindings
bind -M insert \co 'edit' bind -M insert \co 'edit'
bind -M insert \ca 'cd; and edit; cd -' 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'
bind -M insert \ce 'recent' bind -M insert \ce 'recent'
bind -M default \ce 'recent'
bind -M insert \cg 'commandline-git-commits' bind -M insert \cg 'commandline-git-commits'
bind -M insert \cf 'fcd' bind -M insert \cf 'fcd'
bind -M default \cf 'fcd'
bind -M insert \cp 'prj' bind -M insert \cp 'prj'
bind -M default \cp 'prj' bind -M default \cp 'prj'
bind -M insert \x1F accept-autosuggestion bind -M insert \x1F accept-autosuggestion