Created
January 18, 2020 07:06
-
-
Save owlfox/3f29593c0e166f271a8c1cc9f5dbdacd 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
# Prefix to C-a | |
set -g prefix C-a | |
# remove the original prefix binding | |
unbind-key C-b | |
# make it responsive? | |
set -g escape-time 1 | |
set -g base-index 1 | |
setw -g pane-base-index 1 | |
# make reload tmux config easier | |
bind r source-file ~/.tmux.conf \; display "reloaded!!" | |
# C-a twice to send C-a to app in tmux | |
bind C-a send-prefix | |
bind | split-window -h | |
bind - split-window -v | |
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 5 | |
bind J resize-pane -D 5 | |
bind K resize-pane -U 5 | |
bind L resize-pane -R 5 | |
set -g mouse off | |
set -g default-terminal "screen-256color" | |
set -g status-style fg=white,bg=black | |
setw -g window-status-style fg=cyan,bg=black | |
setw -g window-status-current-style fg=white,bold,bg=red | |
# colors for pane borders | |
setw -g pane-border-style fg=green,bg=black | |
# enable vi keys | |
setw -g mode-keys vi | |
setw -g pane-active-border-style fg=white,bg=yellow | |
# active pane normal, other shaded out | |
setw -g window-style fg=colour240,bg=colour235 | |
setw -g window-active-style fg=white,bg=black | |
# Command / message line | |
set -g message-style fg=white,bold,bg=black |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment