Skip to content

Instantly share code, notes, and snippets.

@samed
Created April 7, 2014 10:38
Show Gist options
  • Select an option

  • Save samed/10018042 to your computer and use it in GitHub Desktop.

Select an option

Save samed/10018042 to your computer and use it in GitHub Desktop.
bind C-p run "tmux set-buffer \"$(xclip -o)\"; tmux paste-buffer"
# # move tmux copy buffer into x clipboard
bind C-y run "tmux save-buffer - | xclip -i"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment