Created
September 29, 2019 10:06
-
-
Save y-yu/2282e1f58aa154e85c53660d93df6cd0 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-window-option -g mode-keys emacs | |
set -g mouse on | |
set -g default-shell /usr/local/bin/zsh | |
bind-key m run pane-maximize | |
bind-key e run tmux-editbuf | |
bind-key -rn M-Up resize-pane -U 5 | |
bind-key -rn M-Down resize-pane -D 5 | |
bind-key -rn M-Left resize-pane -L 5 | |
bind-key -rn M-Right resize-pane -R 5 | |
bind-key w choose-window | |
setw -g window-status-format "[#I:#T]" | |
setw -g window-status-current-format "[#I:#T]" | |
# default statusbar colors | |
set-option -g status-style bg="colour231","default",fg="colour130" #base2, yellow | |
# default window title colors | |
setw -g window-status-style fg="colour180","dim",bg="default" | |
# active window title colors | |
setw -g window-status-current-style fg="colour196","bright",bg="default" | |
# pane border | |
set-option -g pane-border-style fg="colour231" | |
set-option -g pane-active-border-style fg="colour051" #base1 | |
# message text | |
set-option -g message-style bg="colour231",fg="colour196" | |
# pane number display | |
set-option -g display-panes-active-colour colour20 #blue | |
set-option -g display-panes-colour colour196 #orange | |
# clock | |
set-window-option -g clock-mode-colour colour40 #green | |
# bell | |
setw -g window-status-bell-style bg="colour1","reverse",fg="colour4" | |
set -g status-right '#[fg=red] %y/%m/%d(%a) %H:%M:%S ' | |
set-option -g default-command "reattach-to-user-namespace -l $SHELL" | |
bind-key C-c run "/usr/local/bin/tmux save-buffer - | /usr/local/bin/reattach-to-user-namespace pbcopy" | |
bind-key C-v run "/usr/local/bin/reattach-to-user-namespace pbpaste | /usr/local/bin/tmux load-buffer - && tmux paste-buffer" | |
, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment