Created
January 20, 2017 06:05
-
-
Save nluo/4e690f6be0b8e1cde4e851996b8dccbb to your computer and use it in GitHub Desktop.
my tmux conf file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Bind to backtick | |
unbind C-b | |
set-option -g prefix ` | |
bind ` send-prefix | |
set-window-option -g mode-keys vi | |
# Setup 'v' to begin selection as in Vim | |
bind-key -t vi-copy v begin-selection | |
bind -t vi-copy y copy-pipe 'xclip -in -selection clipboard' | |
# Update default binding of `Enter` to also use copy-pipe | |
unbind -t vi-copy Enter | |
bind -t vi-copy Enter copy-pipe 'xclip -in -selection clipboard' | |
bind-key -n C-S-Left swap-window -t -1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment