config/fish/functions/fish_user_key_bindings.fish

14 lines
336 B
Fish

function fish_user_key_bindings
bind \cb battery
bind \cq fkill
# By default, Ctrl+L clears the screen
# Add binding Ctrl+Alt+L to clear screen AND scrollback buffer
bind \e\f 'clear; commandline -f repaint'
# Bindings for fzf
bind \cp __fzf_files
bind \cg __fzf_git_log
bind \cr __fzf_history
end