-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.tmux.conf
executable file
·45 lines (35 loc) · 1.1 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
# Changing to the screen like prefix
unbind C-b
unbind C-a
set -g prefix C-a
bind a send-prefix
# Emacs keybindings
set-option -g status-keys emacs
set-option -gw mode-keys emacs
# Mouse on
set -g mouse off
# # Let's pretend to be screen
bind C-a last-window
bind C-n next-window
bind C-p previous-window
bind C-c new-window
bind C-o new-window
# Splitwise
bind _ split-window -v
bind - split-window -v -c '#{pane_current_path}'
bind | split-window -h -c '#{pane_current_path}'
# # don't rename windows automatically
set-option -g allow-rename off
# # C-r reloads the config file
bind C-r source-file ~/.tmux.conf \; display-message "reloaded"
# # We're not in 90s anymore
set -g default-terminal "screen-256color"
# # Statusbar
set -g status-style bg=black,fg=colour15
set -g status-left-length 0
set -g status-right-style fg=colour69
set -g status-right "#(ip addr show wlp0s20f3 | grep -m 1 inet | awk '{print $2}' | cut -d / -f 1) | %H:%M, %a %h %e "
set -g status-left ''
# # Configuration for each window.
setw -g window-status-current-style fg=blue
setw -g window-status-bell-style bold,fg=colour255,bg=colour198