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