I can make a selection using Ctrl+Space like so:
but the problem is that I cannot find the keystroke to copy the selection to the clipboard. I tried this guide but both Ctrl+w and Alt+w did not seem to work.
I tried adding this to my
bind -t vi-copy w copy-pipe "xclip -sel clip -i"
but I got this error when I ran
home/oleg/.tmux.conf:9: usage: bind-key [-cnr] [-T key-table] key command [arguments]
What is wrong? How to make it work?