Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # memo
- # green: colour46
- # pink: colour200
- # window
- set-option -g default-terminal screen-256color
- set -g terminal-overrides 'xterm:colors=256'
- #set -g display-panes-active-colour colour237
- set -g status-interval 1
- set -g status-position top
- set -g status-fg colour255
- set -g status-bg colour237
- # left panel
- set -g status-left-length 60
- set -g status-left-fg colour200
- set -g status-left-bg colour237
- set-option -g status-left '#{?client_prefix, \(^o^)/<[ Session: #S ]#[bg=colour237] #[fg=colour237]#[bg=yellow] ! , \(^o^)/<[ Session: #S ]#[bg=colour237] }'
- # center panel
- set -g status-justify "centre"
- set-window-option -g window-status-format "<< #I: #W >>"
- set-window-option -g window-status-current-format "#[fg=colour200]<< #[fg=colour46]#I: #W #[fg=colour200]>>"
- set-window-option -g window-status-fg colour200
- set-window-option -g window-status-bg colour237
- set-window-option -g window-status-current-fg colour200
- set-window-option -g window-status-current-bg colour237
- # right panel
- set -g status-right-length 60
- set -g status-right-bg colour237
- set -g status-right-fg colour46
- set -g status-right "[ #H | %m/%d %H:%M:%S ]>\\(-v-)/ "
- # key
- ## reduce delay to input escape sequence
- set -sg escape-time 0
- ## set reload tmux config file to "r" key
- bind r source-file ~/.tmux.conf \; display "Reloaded!"
- set-option -g mouse off
- unbind C-b
- set -g prefix C-x
- ## pane action
- bind - split-window -v
- bind | split-window -h
- bind j select-pane -D
- bind k select-pane -U
- bind h select-pane -L
- bind l select-pane -R
- bind -r Up resize-pane -U 3
- bind -r Down resize-pane -D 3
- bind -r Left resize-pane -L 3
- bind -r Right resize-pane -R 3
- # Pane
- # fg color
- set -g pane-border-fg colour46
- # bg color
- #set -g pane-border-bg black
- set -g pane-border-bg black
- # active pane fg color
- set -g pane-active-border-fg colour200
- # active pain bg color
- set -g pane-active-border-bg black
- # time
- set-window-option -g clock-mode-colour colour200
- # mouse
- #set-option -g mouse on
- ##set -g mouse-resize-pane on
- # window
- setw -g automatic-rename off
- # Rename window number when a window is closed
- set-option -g renumber-windows on
- # Window number begins from 1
- set-option -g base-index 1
- setw -g pane-base-index 1
- # copy mode
- set-window-option -g mode-keys vi
- bind Space copy-mode
- bind p paste-buffer
Add Comment
Please, Sign In to add comment