summaryrefslogtreecommitdiff
path: root/old/lindy/dot_tmux.conf
blob: dc80775f2784c0931d67a953ef6ab8c184cccc32 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# KEY BINDINGS

setw -g mode-keys vi

# remap prefix to Control + a
set -g prefix C-q
unbind C-b
bind C-q send-prefix

unbind q
bind-key q copy-mode

unbind p
bind p paste-buffer

# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf

# quick pane cycling
unbind ^A
bind ^A select-pane -t :.+

# switch panes using vim-like bindings C-a hjkl
unbind h
unbind j
unbind k
unbind l
bind h select-pane -L
bind l select-pane -R
bind k select-pane -U
bind j select-pane -D
# switch panes using bindings C-q C-hl
unbind ^H
unbind ^L
bind ^H previous-window
bind ^L next-window

# OTHER OPTIONS

set -g mouse on

set -g escape-time 0

# don't rename windows automatically
set-option -g allow-rename off


######################
### DESIGN CHANGES ###
######################

set -g status-bg colour2