| File tmux.conf changed (mode: 100644) (index 97b7617..001940c) |
| ... |
... |
set-option -g display-panes-time 2000 |
| 19 |
19 |
set-option -g history-limit 10000 |
set-option -g history-limit 10000 |
| 20 |
20 |
|
|
| 21 |
21 |
# use vi-line shortcuts to yank text in copy-mode |
# use vi-line shortcuts to yank text in copy-mode |
| 22 |
|
bind-key -t vi-copy 'v' begin-selection |
|
| 23 |
|
bind-key -t vi-copy 'V' select-line |
|
| 24 |
|
bind-key -t vi-copy '^v' rectangle-toggle |
|
| 25 |
|
bind-key -t vi-copy 'y' copy-selection |
|
|
22 |
|
bind-key -T copy-mode-vi 'v' send-keys -X begin-selection |
|
23 |
|
bind-key -T copy-mode-vi 'V' send-keys -X select-line |
|
24 |
|
bind-key -T copy-mode-vi '^v' send-keys -X rectangle-toggle |
|
25 |
|
bind-key -T copy-mode-vi 'y' send-keys -X copy-selection |
| 26 |
26 |
|
|
| 27 |
27 |
# reload config (prefix + r) |
# reload config (prefix + r) |
| 28 |
28 |
bind-key r source ~/.tmux.conf \; display "Configuration reloaded!" |
bind-key r source ~/.tmux.conf \; display "Configuration reloaded!" |
| |
| ... |
... |
bind-key L resize-pane -R 5 |
| 54 |
54 |
bind-key ' ' last-window |
bind-key ' ' last-window |
| 55 |
55 |
|
|
| 56 |
56 |
# configure borders colour scheme |
# configure borders colour scheme |
| 57 |
|
set-option -g pane-border-bg black |
|
| 58 |
|
set-option -g pane-border-fg colour235 |
|
| 59 |
|
set-option -g pane-active-border-bg colour235 |
|
| 60 |
|
set-option -g pane-active-border-fg white |
|
|
57 |
|
set-option -g pane-border-style "bg=black fg=colour235" |
|
58 |
|
set-option -g pane-active-border-style "bg=colour235 fg=white" |
| 61 |
59 |
|
|
| 62 |
60 |
# configure status bar colour scheme |
# configure status bar colour scheme |
| 63 |
|
set-window-option -g status-attr bold |
|
| 64 |
|
set-window-option -g status-bg colour235 |
|
| 65 |
|
set-window-option -g status-fg white |
|
| 66 |
|
set-window-option -g window-status-bg colour235 |
|
| 67 |
|
set-window-option -g window-status-fg white |
|
| 68 |
|
set-window-option -g window-status-current-bg colour235 |
|
| 69 |
|
set-window-option -g window-status-current-fg colour248 |
|
| 70 |
|
set-window-option -g window-status-current-attr bold,reverse |
|
|
61 |
|
set-window-option -g status-style "bg=colour235 fg=white bold" |
|
62 |
|
set-window-option -g window-status-style "bg=colour235 fg=white" |
|
63 |
|
set-window-option -g window-status-current-style "bg=colour235 fg=colour248 bold reverse" |
| 71 |
64 |
|
|
| 72 |
65 |
# configure status bar look |
# configure status bar look |
| 73 |
66 |
set-option -g status-justify centre |
set-option -g status-justify centre |
| |
| ... |
... |
set-option -g status-right-length 50 |
| 78 |
71 |
set-option -g status-position top |
set-option -g status-position top |
| 79 |
72 |
|
|
| 80 |
73 |
# copy copy-mode selection into primary selection of X |
# copy copy-mode selection into primary selection of X |
| 81 |
|
bind-key -t vi-copy c copy-pipe "xsel --primary --input" |
|
|
74 |
|
bind-key -T copy-mode-vi c send-keys -X copy-pipe-and-cancel "xsel --primary --input" |
| 82 |
75 |
# copy copy-mode selection into clipboard of X |
# copy copy-mode selection into clipboard of X |
| 83 |
|
bind-key -t vi-copy C copy-pipe "xsel --clipboard --input" |
|
|
76 |
|
bind-key -T copy-mode-vi C send-keys -X copy-pipe-and-cancel "xsel --clipboard --input" |