-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
66 lines (51 loc) · 1.46 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
66
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*:Tc"
set -g history-limit 10000
set -g base-index 1
set -g pane-base-index 1
# Key Bindings
set -g prefix C-Space
unbind C-b
bind r source-file ~/.tmux.conf
bind | split-window -h
bind - split-window -v
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind -r C-h select-window -t :-
bind -r C-l select-window -t :+
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
set -g status-keys vi
setw -g mode-keys vi
# Status Bar
set -g status on
set -g status-style fg=white,bg=black
setw -g window-status-style fg=white,bg=black,bright
setw -g window-status-current-style fg=white,bg=black
set -g pane-border-style fg=white,bg=black
set -g pane-active-border-style fg=white,bg=black
set -g message-style fg=white,bg=black
# Show Pane-Name in Status bar
set -g pane-border-status top
set -g status-position top
set -g status-left " #S "
set -g status-left-style fg=brightblue,bg=black,bold
set -g window-status-format " #I #W "
set -g window-status-current-format "#[reverse] #I #W "
#- _
#
# tmux mouse mod
bind m set -g mouse on
bind M set -g mouse off
#bind -Tcopy-mode MouseDragEnd1Pane send -X copy-selection-and-cancel\; run-shell -b "tmux show-buffer | clip"
#
#
# tmux relaod conf
set -g monitor-activity on
set -g visual-activity on
# Load bashrc with new window
set-option -g default-command "exec /bin/bash"