17 lines
390 B
Fish
17 lines
390 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
|
|
|
|
# Expand '...' to '../..'
|
|
bind . expand_dots
|
|
end
|