-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
42 lines (32 loc) · 1.06 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
# Start with a non-login shell (fortune)
set -g default-command "${SHELL}"
# History setting
set -g history-limit 10000
set-option -g history-file ~/.tmux/tmuxhistory
# Unbind default prefix key
#unbind-key C-b
# Set default prefix key
set -g prefix C-a
bind C-a send-prefix
# Sometime you just want mouse mode
bind-key m set-option -g mouse on \; display 'Mouse: ON'
bind-key M set-option -g mouse off \; display 'Mouse: OFF'
# Activity
set-option -g monitor-activity on
set-option -g visual-activity off
# No bells at all
set-option -g bell-action none
# Start window index at 1
set-option -g base-index 1
# Start pane index at 1
set-option -g pane-base-index 1
# Reload tmux config
bind r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded"
# Theme
set -g status-bg black
set -g status-fg white
set -g window-status-current-style fg=black,bg=white,bold
set -g status-interval 60
set -g status-left-length 30
set -g status-left '#[fg=green](#S) #(whoami) '
set -g status-right '#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=white]%H:%M#[default]'