Created
October 24, 2014 18:07
-
-
Save danchoi/98540322145af663d299 to your computer and use it in GitHub Desktop.
tmux conf
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
set -g prefix C-a | |
bind - split-window -v | |
bind _ split-window -h | |
bind J resize-pane -D 20 | |
bind K resize-pane -U 20 | |
bind j resize-pane -D 5 | |
bind k resize-pane -U 5 | |
bind-key C-a last-window | |
# Set status bar | |
set -g status-bg black | |
set -g status-fg green | |
set-window-option -g automatic-rename off | |
set-window-option -g mode-keys vi | |
set-option -g status-left '#P' | |
# set-option -g status-right '#H #S #I %H:%M %a %b %d' | |
set-option -g status-right '#H' | |
# bind-key -t vi-edit C-u delete-line | |
bind ) set-window-option monitor-activity on | |
bind ( set-window-option monitor-activity off | |
bind = select-layout even-horizontal | |
# for default path issues, see http://unix.stackexchange.com/questions/12032/create-new-window-with-current-directory-in-tmux | |
# highlight active window in window list in red | |
set-window-option -g window-status-current-bg black | |
set-window-option -g window-status-current-fg white | |
# highlight active pane red | |
set-option -g pane-active-border-fg green | |
bind-key '"' command-prompt "switch-client -t '%%'" | |
bind-key '"' command-prompt "switch-client -t '%%'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment