fish: binding to clear scrollback buffer
This commit is contained in:
parent
35aa8b0ef4
commit
918c0c33db
@ -2,6 +2,12 @@ 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'
|
||||
bind -M insert \e\f 'clear; commandline -f repaint'
|
||||
bind -M visual \e\f 'clear; commandline -f repaint'
|
||||
|
||||
# Bindings for fzf
|
||||
if command -q brew
|
||||
source (brew --prefix)/opt/fzf/shell/key-bindings.fish
|
||||
|
Loading…
x
Reference in New Issue
Block a user