-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
73 lines (56 loc) · 2.03 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
73
# Set a ctrl+b shortcut for reloading the conf
bind r source-file ~/.tmux.conf
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# Random stuff
set -g default-terminal "screen-256color"
set -g history-limit 10000
set-window-option -g mode-keys vi
set-window-option -g xterm-keys on
# Shift arrow keys for status and navigation
bind-key -n S-Up set-option -g status
bind-key -n S-Down set-option -g status
bind-key -n S-Left previous-window
bind-key -n S-Right next-window
# Ctrl+Shift arrow keys for reordering panes
bind-key -n C-S-Left swap-window -t -1
bind-key -n C-S-Right swap-window -t +1
# Set Ctrl-a as the default prefix key combination
set -g prefix C-a
unbind C-b
# Shorten command delay
set -sg escape-time 1
# Use PREFIX | to split window horizontally and PREFIX - to split vertically
bind | split-window -h
bind - split-window -v
# Disable automatic window renaming
set-option -g allow-rename off
# Visual notification of activity in other windows
# setw -g monitor-activity on
# set -g visual-activity on
# jdob: Disabled for whatever version shipped with F24
# set -g status-utf8 on
set -g status-interval 5
# Status Bar
set -g status-style bg=colour235,fg=colour129
set -g status-left-length 90
set -g status-right-length 60
set -g status-justify left
set -g status-left ""
set -g status-right '#[fg=colour141][#(hostname)] #[fg=colour118]%b %d %R'
set -g window-status-format "[#I]#W "
# Window Borders
set -g pane-border-style fg=colour129
set -g pane-active-border-style fg=colour129
# Window Status
set -g window-status-style fg=colour243,bg=colour235,dim
set -g window-status-current-style fg=colour10,bg=colour235,bright
set-window-option -g window-status-current-format "[#I]#W "
# Pop Up Messages
set -g message-style fg=colour141,bright
# Powerline
# source "/usr/local/lib/python3.7/site-packages/powerline/bindings/tmux/powerline.conf"
# source "/home/jdob/.local/lib/python3.6/site-packages/powerline/bindings/tmux/powerline.conf"
# Display all colors:
# for i in {0..255} ; do
# printf "\x1b[38;5;${i}mcolour${i}\n"
# done