Created
September 10, 2014 01:02
-
-
Save Aricg/cfaa0210e664d5b4f71d to your computer and use it in GitHub Desktop.
tmux config
This file contains hidden or 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
set -g default-terminal "screen-256color" | |
setw -g mode-keys vi | |
set -g prefix C-d | |
unbind C-b | |
bind C-d send-prefix | |
unbind ^A | |
bind ^A select-pane -t :.+ | |
# Setup 'v' to begin selection as in Vim | |
bind-key -t vi-copy v begin-selection | |
bind-key -t vi-copy y copy-pipe "xsel --clipboard -i" | |
# Update default binding of `Enter` to also use copy-pipe | |
unbind -t vi-copy Enter | |
bind-key -t vi-copy Enter copy-pipe "xsel --clipboard -i" | |
bind-key y set-window-option synchronize-panes | |
bind-key -t vi-edit Up history-up | |
bind-key -t vi-edit Down history-down | |
set -g mouse-select-pane on | |
setw -g mode-mouse on | |
#bind -t vi-copy y copy-pipe "xclip" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment