-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.tmux.conf
More file actions
executable file
·93 lines (73 loc) · 2.13 KB
/
Copy path.tmux.conf
File metadata and controls
executable file
·93 lines (73 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#################
### SHORTCUTS ###
#################
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
set-option -g allow-rename on
set-window-option -g xterm-keys on
bind tab last-window
# remap prefix from 'Ctrl+b' to `
unbind C-b
set -g prefix `
bind ` send-prefix
bind-key L last-window
# Mode around panes vim style
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# split pane
bind-key - split-window -v # horizontally
bind-key \\ split-window -h # vertically
unbind '"'
unbind %
# reload config file
bind r source-file ~/.tmux.conf
# Resize current panes
bind-key J resize-pane -D 5
bind-key K resize-pane -U 5
bind-key H resize-pane -L 5
bind-key L resize-pane -R 5
# Start nummbering at 1
set -g base-index 1
set -g pane-base-index 1
# Mouse
set -g mouse on
set -g monitor-activity on
# Aggressize resize
setw -g aggressive-resize on
#another TMUX session
bind-key a send-prefix
# Turn on vi bindings in copy mode
set-option -g status-keys vi
set-window-option -g mode-keys vi
# Setup 'v' to begin selection as in Vim
######################
### DESIGN CHANGES ###
######################
# panes
set -g pane-border-style fg=black
set -g pane-active-border-style fg=brightred
## Status bar
# status line
set -g status-justify left
set -g status-style bg=black,fg=colour130
set -g status-interval 2
# messageing
set -g message-style fg=black,bg=yellow
set -g message-command-style fg=blue,bg=black
# window mode
setw -g mode-style bg=colour6,fg=colour0
# window status
setw -g window-status-format " #F#I:#W#F "
setw -g window-status-current-format " #F#I:#W#F "
setw -g window-status-format "#[fg=magenta]#[bg=black] #I #[bg=cyan]#[fg=colour8] #W"
setw -g window-status-current-format "#[fg=magenta]#[bg=black] #I #[bg=cyan]#[fg=colour8] #W"
setw -g window-status-current-style bg=colour0,fg=colour11,dim
setw -g window-status-style bg=green,fg=black,reverse
# display
set -g status-right-length 150
set -g status-left "tmux-mode"
set -g status-right "#[fg=green] %m-%d-%Y %H:%M #(whoami) - jiyongy2@illinois.edu"
set -g default-terminal "screen-256color"