Hi,all
In my .tmux.conf, there is the following configuration:
bind C-c run "tmux save-buffer - | xclip -i -sel clipboard"
bind -n C-v run "tmux set-buffer \"$(xclip -o -sel
clipboard)\"; tmux paste-buffer"
now, I want in emacs-copy mode,when i type M-w then It will run
'run "tmux save-buffer - | xclip -i -sel clipboard"' automatically, I
set:
bind-key -t emacs-copy M-w copy-selection \; run "tmux save-buffer
- | xclip -i -sel clipboard"
but, i seems error:
usage: bind-key [-cnr] [-t key-table] key command [arguments]
What should i set?
Thanks!
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
tmux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-users