-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
51 lines (44 loc) · 1.77 KB
/
.tmux.conf
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
set-option -g default-shell /usr/bin/fish
# vim-like splits/movements
bind s split-window -v
bind v split-window -h
# move around panes with hjkl, as one would in vim after pressing ctrl-w
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
#resize panels with HJKL
bind C-h resize-pane -L 5
bind C-j resize-pane -D 5
bind C-k resize-pane -U 5
bind C-l resize-pane -R 5
# start windows/panes from 1, not 0
set -g base-index 1
set -g pane-base-index 1
# 256color term
#set -g default-terminal "screen-256color"
# use ctrla instead of ctrlb
set-option -g prefix C-a
bind-key C-a last-window
set-window-option -g utf8 on
#236=dark
#255=whiteish
#242=gray
#custom theme. note that this will require patched powerline fonts to display
set-option -g status-fg white
set-option -g status-bg colour235
set-option -g status-justify centre
set-option -g status-left-length 6
#display hostname on left
# set-option -g status-left "#[fg=colour235,bg=blue] #H #[fg=blue,bg=colour235] "
set-option -g status-left "#[fg=green,bg=colour237]tmux#[fg=colour237,bg=colour235]"
set-option -g status-right-length 16
#display session name, window pane/number, date and time on the right
set -g status-right "#[fg=colour237,bg=colour235]#[fg=red,bg=colour237]#S#[fg=green] #I:#P #[fg=colour235,bg=colour237]#[fg=cyan,bg=colour235] %b %d #[fg=colour237,bg=colour235]#[bg=colour237,fg=yellow]%l:%M %p "
#windows styling
set-window-option -g window-status-current-format '#[bg=colour255,fg=colour235] #[fg=colour236,bg=colour255,bold]#I: #W#F #[bg=colour255,fg=colour235]'
set-window-option -g window-status-format '#[fg=colour242,bg=colour235]#I: #W#F'
set -g mode-mouse on
set -g mouse-resize-pane on
set -g mouse-select-pane on
set -g mouse-select-window on