-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.tmux.conf
73 lines (59 loc) · 1.23 KB
/
.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# zsh: need to export LC_ALL=en_US.UTF-8 for RPROMPT with unicode char
# Set the prefix
unbind C-b
#set -g prefix ^F
#set -g prefix ^S
set -g prefix `
bind-key ` send-prefix
# screen ^C c
unbind ^C
bind ^C new-window
unbind c
bind c new-window
# detach ^D d
unbind ^D
bind ^D detach
# next ^N n ^F f
unbind ^F
bind ^F next-window
unbind f
bind f next-window
unbind ^N
bind ^N next-window
unbind n
bind n next-window
# prev ^H ^P p ^?
unbind ^H
bind ^H previous-window
unbind ^P
bind ^P previous-window
unbind p
bind p previous-window
unbind BSpace
bind BSpace previous-window
# redisplay ^L l
unbind ^L
bind ^L refresh-client
unbind l
bind l refresh-client
# layouts
bind g nextl
bind h prevl
bind j join-pane
bind k break-pane
# Titles {{{
set-option -g set-titles on
set-option -g set-titles-string '#W(#P) - #T'
set-window-option -g automatic-rename on
# }}}
# mouse scroll buffer outside copy mode
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# vim-airline colors
if-shell "test -f ~/.tmux.airline.conf" "source ~/.tmux.airline.conf"
# set own TERM variable
#set -g default-terminal "screen-256color"
# enable xterm keys
set-window-option -g xterm-keys
set -g default-terminal "xterm-screen-256color"
# scrollback
set -g history-limit 10000