mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-27 13:24:53 +00:00
18 lines
632 B
Fish
18 lines
632 B
Fish
#!/usr/local/bin/fish
|
|
|
|
function fish_user_key_bindings
|
|
bind -M insert \co 'edit'
|
|
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 default \ce 'recent'
|
|
bind -M insert \cg 'commandline-git-commits'
|
|
bind -M insert \cf 'fcd'
|
|
bind -M default \cf 'fcd'
|
|
bind -M insert \cp 'prj'
|
|
bind -M default \cp 'prj'
|
|
bind -M insert \x1F accept-autosuggestion
|
|
bind -M default \x1F accept-autosuggestion
|
|
end
|