-
Notifications
You must be signed in to change notification settings - Fork 1
/
dot_tmux.conf
56 lines (47 loc) · 1.43 KB
/
dot_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
# C-b is not acceptable -- Vim uses it
set -g prefix C-a
unbind C-b
unbind-key -n C-Left
unbind-key -n C-Right
bind-key C-a last-window
bind-key r source-file ~/.tmux.conf \; display "reloaded!"
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind J swap-pane -U
bind K swap-pane -D
bind C new-session
unbind p
bind p next-window
unbind o
bind o previous-window
# Start numbering at 1
set -g base-index 1
# Allows for faster key repetition
set -s escape-time 0
# Set status bar
run -b "$HOME/.local/bin/tmux_powerline.py"
set -g status-position top
set -g status-fg colour15
set -g status-bg colour18
set -wg monitor-activity on
set -wga window-status-activity-style " bold"
set -wga window-status-bell-style " bold"
# use most active client's size for windows
set -wg aggressive-resize on
# terminal properties
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",xterm*:kLFT5=\eOD:kRIT5=\eOC:kUP5=\eOA:kDN5=\eOB:smkx@:rmkx@:sitm=\e[3m:ritm=\e[23m"
set -ga terminal-features ",*256color*:RGB"
set -ga terminal-features ",xterm-kitty:RGB:sync"
set -ga terminal-features ",*:usstyle"
# miscellaneous
set -wg xterm-keys on
set -ga update-environment " POWERLINE_CONFIG_COMMAND DISPLAY SSH_CLIENT SSH_CONNECTION SSH_AUTH_SOCK GNOME_KEYRING_PID GNOME_KEYRING_SOCKET"
set -g allow-passthrough on
set -g focus-events on
set -s set-clipboard on
#set -g mouse on
set -wg mode-keys vi
set -g history-limit 20000