diff options
-rw-r--r-- | .tmux.conf | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -54,3 +54,8 @@ set-window-option -g window-status-current-format "#[fg=colour235, bg=colour27]â # Use 256 colours set -g default-terminal "screen-256color" + +# move x clipboard into tmux paste buffer +bind C-x run "tmux set-buffer \\"$(xclip -o)\\"; tmux paste-buffer" +# move tmux copy buffer into x clipboard +bind C-y save-buffer ~/.tmux-buffer \; run-shell "xsel -i -b <~/.tmux-buffer && rm ~/.tmux-buffer" |