fix(tmux): restore clear-screen as prefix + Ctrl+l
vim-tmux-navigator captures plain Ctrl+l for right-pane navigation, which shadows the shell's clear-screen, and prefix + l is already bound to resize-pane. Add the navigator's documented passthrough so Ctrl+Space, Ctrl+l clears the terminal.
This commit is contained in:
parent
d7bb34e1ef
commit
48fba064b7
1 changed files with 4 additions and 0 deletions
|
|
@ -42,6 +42,10 @@ bind -r h resize-pane -L 5
|
|||
# Use m key to maximize pane
|
||||
bind -r m resize-pane -Z
|
||||
|
||||
# vim-tmux-navigator captures plain Ctrl+l for pane navigation, which breaks
|
||||
# the shell's clear-screen. Restore it as "Prefix + Ctrl+l".
|
||||
bind C-l send-keys 'C-l'
|
||||
|
||||
# Enable vi mode to allow us to use vim keys to move around in copy mode (Prefix + [ places us in copy mode)
|
||||
set-window-option -g mode-keys vi
|
||||
set -g @yank_selection_mouse 'clipboard' # Fix mouse drag copy behavior
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue