-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
38 lines (33 loc) · 973 Bytes
/
.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
# Settings
set -g set-titles on
set -g set-titles-string "#T"
set -g default-terminal "screen-256color"
set -g history-limit 30000
setw -g mouse off
setw -g aggressive-resize on
# Screen-like binds and theme
source-file ~/.tmux/screen-keys.conf
source-file ~/.tmux/colors-solarized.conf
# Override prefix with ^S.
unbind C-b
set -g prefix ^S
bind s send-prefix
# Custom Binds
bind-key r source-file ~/.tmux.conf \; display 'Config reloaded!'
bind-key R respawn-pane -k \; display 'Respawned Pane!'
bind-key b send-keys -R \; clear-history
bind e set-window-option synchronize-panes
# Toggle mouse on with ^B M
bind M \
set -g mode-mouse on \;\
set -g mouse-resize-pane on \;\
set -g mouse-select-pane on \;\
set -g mouse-select-window on \;\
display 'Mouse: ON'
# Toggle mouse off with ^B m
bind m \
set -g mode-mouse off \;\
set -g mouse-resize-pane off \;\
set -g mouse-select-pane off \;\
set -g mouse-select-window off \;\
display 'Mouse: OFF'