~gpanders/dotfiles

ref: c8e63bac959db19c138dcc3198a56514f0b444ff dotfiles/.config/fish/functions/fish_user_key_bindings.fish -rw-r--r-- 365 bytes
c8e63bacGreg Anders Manage dotfiles directly in home directory 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
function fish_user_key_bindings
    bind \ef nextd-or-forward-word
    bind -M insert \ef nextd-or-forward-word

    bind \eb prevd-or-backward-word
    bind -M insert \eb prevd-or-backward-word

    bind \ew __fish_whatis_current_token
    bind -M insert __fish_whatis_current_token

    bind \es __fish_prepend_sudo
    bind -M insert \es __fish_prepend_sudo
end