-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
53 lines (39 loc) · 1.16 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
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'seebi/tmux-colors-solarized'
run '~/.tmux/plugins/tpm/tpm'
set-option -g default-terminal 'screen-256color'
set-option -ga terminal-overrides ',xterm-256color:Tc'
bind-key r source-file ~/.tmux.conf
# Window numbers
set-option -g base-index 1
set-option -g renumber-windows on
# vim everything
set-window-option -g mode-keys vi
# More screenish shortcuts
unbind C-b
set-option -g prefix ^a
# Swap on C-a C-a
bind-key C-a last-window
# Rename window
bind-key A command-prompt 'rename-window %%'
set-option -g automatic-rename off
# Prev/next tab
bind -n M-h prev
bind -n M-l next
# Clock
set-option -g status-right "%H:%M "
# Term title
set-option -g set-titles on
set-option -g set-titles-string 'tmux #{session_name}'
# No delay for escape key press
set-option -sg escape-time 0
# Same directory in the new window
bind 'h' split-window -h -c '#{pane_current_path}'
bind 'v' split-window -v -c '#{pane_current_path}'
bind c new-window -c '#{pane_current_path}'
unbind '"'
unbind %
# Colours
set-option -g @colors-solarized 'light'
set-option -g status-style fg=yellow,bg=white