feat(tmux): Add clipboard and other overrides
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
|
||||
# General
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -ag terminal-overrides ",$TERM:Tc"
|
||||
set -sa terminal-features ",*:RGB"
|
||||
#set -ga terminal-features ",$TERM:RGB"
|
||||
set -ga terminal-features ",$TERM:256:RGB:clipboard:extkeys:focus:hyperlinks:sync:osc7:overline:strikethrough:usstyle"
|
||||
set -g set-clipboard on
|
||||
set -g allow-passthrough on
|
||||
set -g visual-activity off
|
||||
set -sg escape-time 0
|
||||
@@ -12,7 +13,6 @@ set -g base-index 1
|
||||
set -g pane-base-index 1
|
||||
set -g detach-on-destroy off
|
||||
set -g history-limit 250000
|
||||
set -g set-clipboard on
|
||||
set -g renumber-windows on
|
||||
setw -g mode-keys vi
|
||||
|
||||
@@ -73,7 +73,7 @@ bind-key 'g' display-popup -d '#{pane_current_path}' -E -w 100% -h 100% "lazygit
|
||||
|
||||
# Copy mode
|
||||
bind -T copy-mode-vi v send -X begin-selection
|
||||
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "pbcopy"
|
||||
bind -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||
bind P paste-buffer
|
||||
# Copy mode mouse
|
||||
unbind-key -T copy-mode-vi MouseDragEnd1Pane
|
||||
|
||||
Reference in New Issue
Block a user