-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
38 lines (32 loc) · 1.01 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
# Use ` instead of C-b as escape char
unbind C-b
set -g prefix `
bind-key ` send-prefix
# Set a Ctrl-b shortcut for reloading your tmux config
bind r source-file ~/.tmux.conf
# Use a sane 1-based index
set -g base-index 1
set-window-option -g pane-base-index 1
# Rename your terminals
set -g set-titles on
set -g set-titles-string '#(whoami)@#H' #::#(curl ipecho.net/plain;echo)'
# Status bar customization
set -g status-utf8 on
set -g status-bg default
set -g status-fg white
set -g status-interval 5
set -g status-left-length 90
set -g status-right-length 60
set -g status-left " [ #[bg=black] \
#[fg=brightblue]#H#[fg=white] - \
#[fg=yellow]#(curl icanhazip.com curl;echo) \
#[bg=default] #[fg=white]]["
set -g status-justify left
set -g status-right "]"
set -g window-status-format "#[bg=black] #I #[bg=default] #W"
set -g window-status-current-format "#[bg=black] #I #[bg=blue] #W "
# Enable mouse scrolling
set -g mouse-select-pane on
set -g mouse-select-window on
setw -g mode-mouse on
bind i source-file ~/.tmux/session1