Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Once I had asked a somewhat relevant question in unix&linux.

Currently I'm trying to map ctrl+shift+c combo to copy the text in tmux buffer to x clipboard. I can bind it to ctrl+c using:

bind-key -n C-c run "tmux show-buffer | xclip -selection clipboard -i"

but this combo shadows shell interrupting. Changing C-c to things like C-C, C-S-c or S-C-c doesn't seem to achieve this. How can I do this?

Note: I'm working in gnome-terminal if it's relevant. (I have disabled overlapping keybindings in gnome-terminal)

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.