Created
August 6, 2019 16:48
-
-
Save springle/d314c745a42f6670be8d518f036cb746 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
# remap prefix from "C-b" to "C-a" | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# configure vi settings for copy mode | |
set-window-option -g mode-keys vi | |
bind-key -T copy-mode-vi 'v' send -X begin-selection | |
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel | |
# split panes using "/" | |
bind / split-window -h | |
bind - split-window -v | |
# easy reload of ~/.tmux.conf | |
bind r source-file ~/.tmux.conf | |
# easy pane switching | |
bind -n M-h select-pane -L | |
bind -n M-j select-pane -D | |
bind -n M-k select-pane -U | |
bind -n M-l select-pane -R | |
# easy window switching | |
bind -n M-H previous-window | |
bind -n M-L next-window | |
# stop window auto-renaming | |
set-option -g allow-rename off | |
################## | |
# DESIGN CHANGES # | |
################## | |
# messages | |
set -g message-style 'fg=colour255 bg=colour53' | |
# silence bell | |
set -g bell-action none | |
# panes | |
set -g pane-border-style 'fg=colour255 bg=colour255' | |
set -g pane-active-border-style 'fg=colour53 bg=colour53' | |
# status bar | |
set -g status-style 'fg=colour255 bg=colour255' | |
set -g status-left '' | |
set -g status-right '' | |
setw -g window-status-current-style 'fg=colour255 bg=colour53 bold' | |
setw -g window-status-current-format ' #W ' | |
setw -g window-status-style 'fg=colour53 bg=colour255' | |
setw -g window-status-format '#W' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment