-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.tmux.conf
74 lines (58 loc) · 2.15 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
67
68
69
70
71
72
73
74
# ^b ? help
#
# ^b % vertical
# ^b " horiz
#
# ^b up/down/right/left
# ^b o cycle between panes
# ^b x close pane
#
# ^b c c create new window
# ^b n n next win
# ^b p p prev win
# ^b w select from list
#
# ^b [ start scrolling (up/down/pag up/pag down)
# ^b ] paste
# <esc> exit insert mode
#
#
#set -g mode-mouse on |
#set -g mouse-resize-pane on | from version 2.1
#set -g mouse-select-pane on | <---- 4 settings replaced by 1 single option: set -g mouse on
#set -g mouse-select-window on |
set -g mouse on
# from version 2.9 the colours of different items are managed by the -style attr, see below lines
set -g status-bg blue
set -g status-fg white
#setw -g status-left #H:#S at #W:#T
#setw -g window-status-fg cyan
#setw -g window-status-bg default
#setw -g window-status-attr dim
setw -g window-status-style bg=default,fg=cyan,dim
#setw -g window-status-current-fg white
#setw -g window-status-current-bg red
#setw -g window-status-current-attr bright
setw -g window-status-current-style bg=red,fg=white,bright
#set -g pane-border-fg green
#set -g pane-border-bg black
setw -g pane-border-style bg=black,fg=white
#set -g pane-active-border-fg black
#set -g pane-active-border-bg colour150
setw -g pane-active-border-style bg=colour150,fg=black
setw -g mode-keys vi
unbind-key [
bind Escape copy-mode
unbind-key p
bind-key p paste-buffer
#
#bind-key -t vi-copy v begin-selection <--- old syntax (replaced with commit d54e990)
#bind-key -t vi-copy y copy-selectionn <--- old syntax (replaced with commit d54e990)
# new 'vi' syntax
bind-key -Tcopy-mode-vi 'v' send -X begin-selection
bind-key -Tcopy-mode-vi 'y' send -X copy-selection
#unbind-key P
#bind-key P source-file ~/tmux.script.procpartition.conf
#set -g default-shell /usr/local/bin/bash <---- this was good till I migrated to zsh
#set -g default-shell /usr/local/bin/zsh <---- old Mac
set -g default-shell /bin/zsh