feat(tmux): remove os specific copy in favor of osc
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user