Last active
December 10, 2018 22:19
-
-
Save jorgemb/52be4b6f1a94003f95fc25550e7b9547 to your computer and use it in GitHub Desktop.
TMux configuration 1.0
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
set -g default-terminal "screen-256color" | |
unbind-key C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
set -g history-limit 10000 | |
setw -g xterm-keys on | |
setw -g automatic-rename off | |
set -g set-titles on | |
# Detach client | |
bind-key d detach | |
bind-key C-d detach | |
# Navigate panes | |
bind-key -r j select-pane -t :.- | |
bind-key -r k select-pane -t :.+ | |
bind-key -r C-j select-pane -t :.- | |
bind-key -r C-k select-pane -t :.+ | |
# Navigate windows | |
bind-key -r h select-window -t :- | |
bind-key -r l select-window -t :+ | |
bind-key -r C-h select-window -t :- | |
bind-key -r C-l select-window -t :+ | |
# Vi for copy mode | |
setw -g mode-keys vi | |
# bind-key -T copy-mode-vi 'v' send-keys -X begin-selection | |
# bind-key -T copy-mode-vi 'y' send-keys -X copy-selection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment