tmux copy to system clipboard

Ku pamięci:

grep -i xclip .tmux.conf
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'

usage:
ctrl+b+[ - vi mode
space - start selection
y - end and copy
ctrl+b+] - paste

Oczywiście trzeba sobie doinstalować xclip, działa elegancko na linuxie i maczku.

Leave a comment

Your email address will not be published. Required fields are marked *