Created
July 26, 2019 13:21
-
-
Save carlinmack/d4c21bad81b4bee027dd0afaaa9763eb to your computer and use it in GitHub Desktop.
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
# Change prefix bind | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# Start windows and panes at 1, not 0 | |
set -g base-index 1 | |
setw -g pane-base-index 1 | |
# Enable mouse mode (tmux 2.1 and above) | |
set -g mouse on | |
# switch panes using Alt-arrow without prefix | |
bind -n M-Left select-pane -L | |
bind -n M-Right select-pane -R | |
bind -n M-Up select-pane -U | |
bind -n M-Down select-pane -D | |
# statusbar | |
set -g status-bg white | |
set -g status-fg black | |
# split panes using | and - | |
bind | split-window -h | |
bind ~ split-window -v | |
unbind '"' | |
unbind % |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment