-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
106 lines (86 loc) · 2.33 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# Bind appropriate commands similar to screen.
# Set the prefix to ^A.
unbind C-b
set -g prefix ^A
bind a send-prefix
# start as login-shell
# set -g default-command "${SHELL}"
set -g default-terminal "screen-256color"
# Layout
# Terminal emulator window title
set -g set-titles on
set -g set-titles-string 'tmux(#S) on #h: #W'
# Status Bar
set -g status-bg brightblack
set -g status-fg colour123
set -g status-interval 1
set -g status-left-length 60
set -g status-left '#[bg=white,fg=black] #H #[default]'
set -g status-right '#[fg=cyan]%d.%m.%y %H:%M:%S #[default]'
# set -g status-left-length 52
# set -g status-right-length 451
# set -g status-fg white
# set -g status-bg colour234
# set -g pane-border-fg colour245
# set -g pane-active-border-fg colour39
# set -g message-fg colour16
# set -g message-bg colour221
# set -g message-attr bold
# set -g status-left '#[fg=colour235,bg=colour252,bold] ❐ #S #[fg=colour252,bg=colour238,nobold]⮀#[fg=colour245,bg=colour238,bold] #(whoami) #[fg=colour238,bg=colour234,nobold]⮀'
# set -g window-status-format "#[fg=colour235,bg=colour252,bold] #I #W "
# set -g window-status-current-format "#[fg=colour234,bg=colour39]⮀#[fg=black,bg=colour39,noreverse,bold] #I: #W #[fg=colour39,bg=colour234,nobold]⮀"
# Notifying if other windows has activities
setw -g monitor-activity on
set -g visual-activity on
# Highlighting the active window in status bar
setw -g window-status-current-fg colour160
# Clock
setw -g clock-mode-colour green
setw -g clock-mode-style 24
# screen ^C c
unbind ^C
bind ^C new-window
unbind c
bind c new-window
# detach ^D d
unbind ^D
bind ^D detach
# title A
unbind A
bind A command-prompt "rename-window %%"
# other ^A
unbind ^A
bind ^A last-window
unbind BSpace
bind BSpace previous-window
# windows ^W w
# unbind ^W
# bind ^W list-windows
# unbind w
# bind w list-windows
# quit \
# unbind \
# bind \ confirm-before "kill-server"
# kill K k
unbind K
bind K confirm-before "kill-window"
unbind k
bind k confirm-before "kill-window"
# More straight forward key bindings for splitting
unbind %
unbind '"'
bind | split-window -h
bind v split-window -h
bind - split-window -v
bind h split-window -v
# History
set -g history-limit 5000
# :kB: focus up
unbind Tab
bind Tab last-pane
# bind Tab down-pane
# unbind BTab
# bind BTab up-pane
# " windowlist -b
# unbind '"'
# bind '"' choose-window