-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.tmux.conf
More file actions
62 lines (42 loc) · 1.34 KB
/
.tmux.conf
File metadata and controls
62 lines (42 loc) · 1.34 KB
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
55
56
57
58
59
60
61
# windows indexes start from 1
set -g base-index 1
# use vim keybindings in copy mode
setw -g mode-keys vi
# title
set-option -g set-titles on
# increase history size
set -g history-limit 10000
# split window hotkeys
bind-key | split-window -h
bind-key - split-window -v
# bind to reload config
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# switch to the last pane and zoom it
bind-key C-s last-pane \; resize-pane -Z
set -g status-justify centre
set -g default-terminal "screen-256color"
# left and right statusbars are empty
set -g status-right ''
set -g status-left ''
# pane index starts from 1
set-window-option -g pane-base-index 1
# no delay in VIM when pressing ESC button
set -sg escape-time 0
# re-number windows when one is closed
set -g renumber-windows on
# status line at the top
set-option -g status-position bottom
# fix for some hotkeys (ctrl+arrows, ...)
set-window-option -g xterm-keys on
# show/hide status bar
bind-key b set-option status
# insert new window after the current one
bind-key a new-window -a
# disallow automatic window renaming
set-option -g allow-rename off
# enable focus events to make autoread properly work in vim
set-option -g focus-events on
# respawn current window
bind-key k confirm-before -p "respawn current window? (y/n)" "respawn-window -k"
# colorscheme
source-file ~/.tmux/solarized.conf