-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
65 lines (51 loc) · 1.62 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# command prefix (like screen)
set -g prefix C-a
bind C-a send-prefix
# basic settings
set-window-option -g mode-keys vi # vi key
set-option -g status-keys vi
set-window-option -g utf8 on # utf8 support
# make sure system clipboard is used on mouse copy
# https://coderwall.com/p/j9wnfw/vim-tmux-system-clipboard
set-option -g default-command "reattach-to-user-namespace -l bash"
# mousing
set -g mouse on
# prevent fat fingering
unbind C-s
# screenlike quit \
unbind \
bind \ confirm-before "kill-server"
# clear pane with ctrl-k
bind C-k send-keys -R \; clear-history
# move around panes
bind -n C-h select-pane -L
bind -n C-j select-pane -D
bind -n C-k select-pane -U
bind -n C-l select-pane -R
set -g status-justify left
set -g status-left ''
set -g status-right '#P | #[bg=yellow]#S#[bg=cyan] | #7H | %F %s'
set -g status-right-length 60
set -g status-bg cyan
setw -g window-status-current-bg green
setw -g window-status-current-attr bold
set -g bell-action any
set -g visual-bell off
set -g visual-activity on
set -g history-limit 1000000
#next tab
bind-key -n C-right next
#previous tab
bind-key -n C-left prev
# status bar
set-option -g status-utf8 on
set-option -g status-justify right
set-option -g status-bg black
set-option -g status-fg cyan
set-option -g status-interval 5
set-option -g status-left-length 30
set-option -g status-left '#[fg=magenta]» #[fg=blue,bold]#T#[default]'
set-option -g status-right '#[fg=cyan]»» #[fg=blue,bold]###S #[fg=magenta]%R %m-%d#(acpi | cut -d ',' -f 2)#[default]'
set-option -g visual-activity on
set-window-option -g monitor-activity on
set-window-option -g window-status-current-fg white