Skip to content

Commit

Permalink
Add clipboard integration via xsel
Browse files Browse the repository at this point in the history
  • Loading branch information
tlvince committed Apr 22, 2013
1 parent 0544812 commit 18ee985
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tmux.conf
Expand Up @@ -28,3 +28,7 @@ source-file "$XDG_CONFIG_HOME/tmux/vendor/tmux-colors-solarized/tmuxcolors-256.c

# Reload config
bind r source-file "$XDG_CONFIG_HOME/tmux/tmux.conf"

# Copy/paste to/from the X clipboard
bind C-y run "tmux save-buffer - | xsel --clipboard"
bind C-p run "tmux set-buffer \"$(xsel --clipboard)\"; tmux paste-buffer"

0 comments on commit 18ee985

Please sign in to comment.