mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23:03 +03:00
feat(tmux): copy from tmux to clipboard
This commit is contained in:
parent
9d1ef91caa
commit
9eda3a739c
1 changed files with 2 additions and 4 deletions
|
|
@ -22,10 +22,8 @@ bind v split-window -h
|
|||
|
||||
bind r source-file ~/.tmux.conf
|
||||
|
||||
unbind p
|
||||
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xsel -i -p && xsel -o -p | xsel -i -b"
|
||||
bind-key p run "xsel -o | tmux load-buffer - ; tmux paste-buffer"
|
||||
|
||||
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -selection clipboard -i"
|
||||
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xclip -selection clipboard -i"
|
||||
bind-key n new-window
|
||||
bind-key t next-window
|
||||
bind-key T previous-window
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue