-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
43 lines (37 loc) · 1.14 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
set -g prefix C-a
bind C-a send-prefix
unbind C-b
# Set a Ctrl-b shortcut for reloading your tmux config
bind r source-file ~/.tmux.conf
# Config example
source-file ~/.tmux-local.conf
# 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-bg black
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 "[#[fg=Green]#(whoami)#[fg=white]::#[fg=blue]#[fg=yellow]#(curl ipecho.net/plain;echo)#[fg=white]] "
set -g status-justify left
set -g status-right '#[fg=Cyan]#S #[fg=white]%a %d %b %R'
setw -g monitor-activity on
set -g visual-activity on
set -g focus-events on
set -g base-index 1
# ALT+arrow
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
bind k select-pane -U
bind j select-pane -D
bind h select-pane -R
bind l select-pane -L
bind s setw synchronize-panes
# Open panel in same direcotory
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window