fix tmux paste

This commit is contained in:
2015-08-07 16:27:46 +03:00
parent 9351fbb69a
commit 5a8581b246
+4 -4
View File
@@ -23,6 +23,9 @@ set -g mouse-select-pane on
set -g mouse-resize-pane on
set -g mouse-select-window on
set -g status-utf8 on
setw -g utf8 on
# -------------------
# Visual Settings
# -------------------
@@ -105,7 +108,4 @@ bind -r L resize-pane -R 5
bind Escape copy-mode
bind p paste-buffer
bind -t vi-copy 'v' begin-selection
bind -t vi-copy 'y' copy-selection
bind C-c run "tmux save-buffer - | xclip -i -sel clipboard"
bind C-v run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer"
bind C-c run "tmux save-buffer - | xclip -i -sel clipboard > /dev/null"