Created
October 3, 2016 02:56
-
-
Save algas/d96ab7b5f4a29a33edbf133aa19a8dc5 to your computer and use it in GitHub Desktop.
tmux
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
## Keybind | |
unbind-key C-b | |
set-option -g prefix C-t | |
bind-key C-t send-prefix | |
## Window | |
set-window-option -g mode-keys vi | |
## Terminal | |
set-option -g default-terminal "screen-256color" | |
set-option -g history-limit 10000 | |
set-option -g base-index 1 | |
set-option -g set-titles on | |
set-option -g status-interval 5 | |
## Ctrl | |
bind-key C-a last-window | |
bind-key C-n next-window | |
bind-key C-p previous-window | |
bind-key C-l select-pane -t :.+ | |
bind-key C-c new-window | |
## Pane | |
bind b break-pane | |
bind h split-window -v | |
bind v split-window -h | |
bind-key -n S-left select-pane -L | |
bind-key -n S-down select-pane -D | |
bind-key -n S-up select-pane -U | |
bind-key -n S-right select-pane -R | |
bind -r < resize-pane -L 1 | |
bind -r > resize-pane -R 1 | |
bind -r - resize-pane -D 1 | |
bind -r + resize-pane -U 1 | |
bind e setw synchronize-panes on | |
bind E setw synchronize-panes off | |
bind k kill-pane | |
bind K kill-window | |
bind i display-panes | |
bind y copy-mode | |
bind p paste-buffer | |
## Reload | |
bind-key R source-file ~/.tmux.conf \; display-message "Reload Config!!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment