tmux fix terminal and copy
This commit is contained in:
@@ -14,9 +14,8 @@ set -g focus-events on
|
||||
|
||||
# Advertise tmux correctly to programs running inside it.
|
||||
set -g default-terminal "tmux-256color"
|
||||
|
||||
# Tell tmux which features the outer Foot client supports.
|
||||
set -as terminal-features ',foot*:RGB,clipboard,focus,title'
|
||||
set -as terminal-features ',*:RGB'
|
||||
set -as terminal-features ',*:clipboard'
|
||||
|
||||
# Allow image passthrough
|
||||
set -gq allow-passthrough on
|
||||
@@ -90,13 +89,11 @@ bind c copy-mode
|
||||
# clipboard control
|
||||
bind p paste-buffer
|
||||
bind -T copy-mode-vi v send-keys -X begin-selection
|
||||
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "wl-copy"
|
||||
bind -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||
bind -T copy-mode-vi Enter send-keys -X copy-selection-and-cancel
|
||||
bind -T copy-mode-vi r send-keys -X rectangle-toggle
|
||||
bind -T copy-mode-vi Escape send-keys -X cancel
|
||||
bind -T copy-mode-vi q send-keys -X clear-selection
|
||||
bind -T copy-mode MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "wl-copy"
|
||||
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "wl-copy"
|
||||
|
||||
# Rename window
|
||||
bind , command-prompt "rename-window %%"
|
||||
|
||||
Reference in New Issue
Block a user