1
0
mirror of https://github.com/balkian/dotfiles.git synced 2025-08-23 00:02:19 +00:00
This commit is contained in:
J. Fernando Sánchez
2016-03-09 15:16:31 +01:00
parent e68ff6e85e
commit 59483a7ac8
6 changed files with 28 additions and 7 deletions

View File

@@ -65,9 +65,9 @@ set -g terminal-overrides 'xterm*:smcup@:rmcup@'
##CLIPBOARD selection integration
##Requires prefix key before the command key
#Copy tmux paste buffer to CLIPBOARD
bind C-c run "tmux show-buffer | xclip -i -selection clipboard"
bind C-c run -b "tmux show-buffer | xclip -i -selection clipboard"
#Copy CLIPBOARD to tmux paste buffer and paste tmux paste buffer
bind C-v run "tmux set-buffer -- \"$(xclip -o -selection clipboard)\"; tmux paste-buffer"
bind C-v run -b "tmux set-buffer -- \"$(xclip -o -selection clipboard)\"; tmux paste-buffer"
# set vi keys
setw -g mode-keys vi