-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf.txt
43 lines (29 loc) · 953 Bytes
/
tmux.conf.txt
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
source /usr/local/lib/python3.5/dist-packages/powerline/bindings/tmux/powerline.conf
set -g default-terminal "screen-256color"
# enable mouse support for switching panes/windows
# NOTE: This breaks selecting/copying text on OSX
# To select text as expected, hold Option to disable it (iTerm2)
#setw -g mouse on
# Automatically set window title
set -g automatic-rename on
set -g set-titles on
set -g history-limit 100000
set -g mode-keys vi
set -g monitor-activity on
set -g xterm-keys on
# disable mouse control by default - change 'off' to 'on' to enable by default.
set -g mouse off
# toggle mouse mode to allow mouse copy/paste
# set mouse on with prefix m
bind m \
setw -g mouse on \;\
display 'Mouse: ON'
# set mouse off with prefix M
bind M \
setw -g mouse off \;\
display 'Mouse: OFF'
# make delay shorter
set -sg escape-time 0
# make window/pane index start with 1
set -g base-index 1
setw -g pane-base-index 1