How to make tmux work with system clipboard ubuntu

From razwiki
Revision as of 01:20, 4 January 2022 by Razzi (talk | contribs) (Created page with "Add this to ~/.tmux.conf bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard' https://unix.stackexchange.com/questions/131011/use-syste...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Add this to ~/.tmux.conf

bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'

https://unix.stackexchange.com/questions/131011/use-system-clipboard-in-vi-copy-mode-in-tmux