Skip to content

Commit

Permalink
Bind clear history command to <leader> + k
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackjacx committed Jun 23, 2024
1 parent c303922 commit 0716df3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bootstrap/config_dirs/tmux/tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,8 @@ set-option -s escape-time 0
bind C-B set-window-option synchronize-panes
bind y set synchronize-panes\; display 'synchronize-panes #{?synchronize-panes,on,off}'

# Clear history with hotkey
# bind -n C-k clear-history
# bind-key b send-keys -R \; clear-history # clears the screen AND the scrollback buffer
# Clear history with <leader>-k
bind k send-keys "clear"\; send-keys "Enter"

# Enable Mouse Support
set -g mouse on
Expand Down

0 comments on commit 0716df3

Please sign in to comment.