saner copy mode keybindings

This commit is contained in:
Thomas Ruoff
2015-04-22 23:10:11 +02:00
parent 04a493f5d0
commit 96b197a5db

View File

@@ -17,6 +17,12 @@ unbind C-b
set -g prefix C-a
bind C-a send-prefix
# Copy-paste integration
setw -g mode-keys vi
bind -t vi-copy 'v' begin-selection
bind -t vi-copy 'y' copy-selection
bind y run-shell "tmux show-buffer | xclip -sel clip -i" \; display-message "Copied tmux buffer to system clipboard"
# splitting panes
bind v split-window -h
bind s split-window -v