Merge commit '8bce4d5bfdb89f07067a0a183c1b79b808c47f80'

This commit is contained in:
murgi
2017-05-12 11:29:03 +02:00

View File

@@ -38,9 +38,9 @@ set -g mouse on
# Vi copypaste mode # Vi copypaste mode
set-window-option -g mode-keys vi set-window-option -g mode-keys vi
bind-key -t vi-copy 'v' begin-selection bind-key -Tcopy-mode-vi 'v' send -X begin-selection
bind-key -t vi-copy 'y' copy-selection bind-key -Tcopy-mode-vi 'y' send -X copy-selection
bind -t vi-copy y copy-pipe 'xclip -in -selection clipboard' bind -Tcopy-mode-vi y send -X copy-pipe "xclip -i -sel p -f | xclip -i -sel c" \; display-message "copied to system clipboard"
# Smart pane switching with awareness of vim splits # Smart pane switching with awareness of vim splits
# See: https://github.com/christoomey/vim-tmux-navigator # See: https://github.com/christoomey/vim-tmux-navigator
@@ -55,6 +55,7 @@ bind -n C-l if-shell "$is_vim" "send-keys C-l" "select-pane -R"
bind C-p run "tmux set-buffer \"$(xclip -o)\"; tmux paste-buffer" bind C-p run "tmux set-buffer \"$(xclip -o)\"; tmux paste-buffer"
# move tmux copy buffer into x clipboard # move tmux copy buffer into x clipboard
bind C-y run "tmux save-buffer - | xclip -i" bind C-y run "tmux save-buffer - | xclip -i"
set-option -s set-clipboard off
source-file ~/.tmux/.tmux_config_powerline source-file ~/.tmux/.tmux_config_powerline