-
Notifications
You must be signed in to change notification settings - Fork 1
/
.tmux.conf
91 lines (67 loc) · 1.76 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#set-option -g default-shell /bin/zsh
# Use Ctrl-a, like Screen
set -g prefix C-a
unbind C-b
# Start counting from 1 for windows and panes
set -g base-index 1
set -g pane-base-index 1
bind C-a send-prefix
bind | split-window -h
bind - split-window -v
bind e detach
bind x kill-pane
bind & kill-window
set-option -g allow-rename off
#vim moves
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind r source-file ~/.tmux.conf \; display "Configuration reloaded!"
#Toogle
bind -r C-h select-window -t :-
bind -r C-l select-window -t :+
#set -g mouse-select-pane on
#set -g mouse-resize-pane on
#set -g mouse-select-pane on
#set -g mode-mouse on
set -g monitor-activity off
set -g visual-activity off
bind-key * list-clients
setw -g automatic-rename
set-option -g set-titles on
set -g history-limit 10000
set -g status-keys vi
set -g mode-keys vi
set -sg escape-time 0
unbind q
bind q confirm kill-session
bind Q confirm kill-server
unbind d
bind -r d resize-pane -D 5
bind -r u resize-pane -U 5
#set -g status-utf8 on
set -g status-right "#S:#I.#P"
set -g status-justify left
set-option -g status-position top
if-shell "if [[ `tmux -V | cut -d' ' -f2` -lt 2.0 ]]; then true; else false; fi" \
'set -g status-utf8 on; \
set -g mouse-select-pane on; \
set -g mouse-resize-pane on; \
set -g mouse-select-pane on; \
set -g mode-mouse on;'
#
## THEME
##
#
## Colors make life better
set -g default-terminal "screen-256color"
#
set -g status-fg colour253 # lightgrey
set -g status-bg colour234 # darkgrey
## Status bar info
#set -g status-utf8 on
set -g status-left "#[fg=red]($SERVER)⚡ [#I]"
set -g status-right "[#I] #[fg=yellow]#S:#I:#P #[fg=green]%H:%M %d-%h"
set -g status-justify left
set-option -g status-position top