Created
January 1, 2018 20:51
-
-
Save chesster/ee56c741d37052459bc8f46e90708ea3 to your computer and use it in GitHub Desktop.
TMUX config
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
if-shell "test -f .tmux_line" "source .tmux_line" | |
unbind C-b | |
set -g prefix C-a | |
bind C-a send-prefix | |
set -g history-limit 30000 | |
setw -g alternate-screen on | |
set -s escape-time 50 | |
set-option -g mouse on | |
## Binds | |
set -g prefix C-a | |
unbind c | |
bind c new-window | |
bind C-c new-window | |
unbind & | |
unbind q | |
bind q kill-window | |
bind C-q kill-window | |
bind x kill-pane | |
bind C-x kill-pane | |
unbind l | |
bind C-a last-window | |
unbind C-b | |
bind a send-prefix | |
unbind n | |
bind n next-window | |
bind C-n next-window | |
unbind p | |
bind p previous-window | |
bind C-p previous-window | |
unbind d | |
bind d detach | |
bind C-d detach | |
set-option escape-time 0 | |
unbind [ | |
bind Escape copy-mode | |
unbind % | |
bind s split-window -v | |
bind C-s split-window -v | |
unbind "'" | |
bind e split-window -h | |
bind C-e split-window -h | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
bind ^h resize-pane -L | |
bind ^j resize-pane -D | |
bind ^k resize-pane -U | |
bind ^l resize-pane -R | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment