blob: a94f7179e994269e86bcb31738fe219946e09be7 (
plain) (
blame)
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
|
set -g status-bg cyan
set -g status-fg black
set-window-option -g window-status-current-bg black
set-window-option -g window-status-current-fg cyan
bind M-s setw synchronize-panes
# set -g mode-mouse on
setw -g mode-keys vi
setw -g aggressive-resize on
set -g default-terminal "screen-256color"
# Don't let command rename our windows
set-option -g allow-rename off
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection
# Fix for certian applications such as Nvim
set -s escape-time 0
bind-key M-k select-pane -U
bind-key M-j select-pane -D
bind-key M-h select-pane -L
bind-key M-l select-pane -R
# If you still want to select text out of the terminal as you normally would
# You should hold the shift key ( Linux ) I'm told it's "Option on Mac OS X"
set -g mouse on
# Old mouse method
# set-option -g mode-mouse on
# set-option -g mouse-resize-pane on
# set-option -g mouse-select-pane on
# set-option -g mouse-select-window on
source ~/.tmux.conf.local
|