diff options
author | Ryan Kavanagh <rak@debian.org> | 2015-02-21 11:46:24 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2015-02-21 11:46:24 -0500 |
commit | fc4e526020dc98746b188dcf9eb4b69506aef4ef (patch) | |
tree | 1586987fd364f70a8efce317f565bd8be9481797 | |
parent | Revert "Add ENSL" (diff) |
Add paste from X to tmux
Diffstat (limited to '')
-rw-r--r-- | .tmux.conf | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -57,6 +57,8 @@ set -g default-terminal "screen-256color" # move tmux copy buffer into x clipboard bind C-y save-buffer ~/.tmux-buffer \; run "xsel -i -b <~/.tmux-buffer && rm ~/.tmux-buffer" +#Copy CLIPBOARD to tmux paste buffer and paste tmux paste buffer +bind C-v run "tmux set-buffer -- \"$(xsel -o -b)\"; tmux paste-buffer" bind C new-session |