tmux: add binding for copying to X11 clipboard

This commit is contained in:
Lucas 2020-12-27 15:45:40 +00:00
parent 9fef01eb0c
commit 0ffa5a95e4
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
# env
# Written in 2019 by Lucas
# Written in 2019-2020 by Lucas
# CC0 1.0 Universal/Public domain - No rights reserved
#
# To the extent possible under law, the author(s) have dedicated all
@ -17,3 +17,4 @@ set -g base-index 1
bind A set -w synchronize-panes on
bind a set -w synchronize-panes off
bind b set status
bind -T copy-mode M-w send -X copy-pipe-and-cancel "xclip -sel clip"