feat(tmux): remove os specific copy in favor of osc

This commit is contained in:
2026-03-10 00:45:28 +01:00
parent 74c3012139
commit 31950b6ae3

View File

@@ -24,14 +24,6 @@ set -g status-left-length 20
set-window-option -g mode-keys vi set-window-option -g mode-keys vi
bind -T copy-mode-vi v send-keys -X begin-selection bind -T copy-mode-vi v send-keys -X begin-selection
# differentiate copy on linux and max
if-shell -b '[ "$(uname -s)" = "Linux" ]' {
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
}
if-shell -b '[ "$(uname -s)" = "Darwin" ]' {
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'pbcopy'
}
# vim-like pane switching # vim-like pane switching
bind ^ last-window bind ^ last-window