Created
May 2, 2018 03:14
-
-
Save michaeljkchoi/9d2ef7d44b27df4cf997d8a8444a04d4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
set -g prefix C-a | |
unbind C-b | |
bind C-a send-prefix | |
set -g default-terminal "xterm" | |
set-option -g mouse on | |
# Use vim keybindings in copy mode | |
setw -g mode-keys vi | |
# Copy-paste functionality | |
bind-key -T copy-mode-vi 'y' send-keys -X copy-pipe "reattach-to-user-namespace pbcopy" | |
# default statusbar colors | |
set-option -g status-bg colour235 | |
set-option -g status-fg colour245 | |
set-option -g status-attr default | |
# default window title colors | |
set-window-option -g window-status-fg colour245 | |
set-window-option -g window-status-bg default | |
set-window-option -g window-status-attr dim | |
# active window title colors | |
set-window-option -g window-status-current-fg colour166 | |
set-window-option -g window-status-current-bg default | |
set-window-option -g window-status-current-attr bright | |
# pane border | |
set-option -g pane-border-fg colour33 | |
set-option -g pane-active-border-fg colour166 | |
# message text | |
set-option -g message-bg colour235 | |
set-option -g message-fg colour166 | |
# pane number display | |
set-option -g display-panes-active-colour colour166 | |
set-option -g display-panes-colour colour33 | |
# resize pane shortcuts | |
bind H resize-pane -L 20 | |
bind J resize-pane -D 20 | |
bind K resize-pane -U 20 | |
bind L resize-pane -R 20 | |
# select pane shortcuts | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
# reload tmux config | |
bind r source-file ~/.tmux.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment