~gpanders/dotfiles

ref: 2da1dde5ea566f82ebe6532bc6d3b8670fd77ce8 dotfiles/fish/.config/fish/functions/fish_user_key_bindings.fish -rw-r--r-- 365 bytes
2da1dde5Greg Anders Note 'open' subcommand opens editor in NOTES_DIR when no argument given 1 year, 4 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