-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtmux.conf
More file actions
86 lines (68 loc) · 2.3 KB
/
Copy pathtmux.conf
File metadata and controls
86 lines (68 loc) · 2.3 KB
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
set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.config/tmux/plugins/'
# ` is an interesting key for a prefix
set-option -g prefix `
unbind-key ^b
bind-key ` send-prefix
# rebind the splitter
unbind %
unbind '"'
bind | split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
bind _ split-window -v -c "#{pane_current_path}"
# 0 is too far from ` ;)
set -g base-index 1
set-option -g status-keys vi
set-option -g bell-action none
set-option -g set-titles off
set-option -g visual-bell off
set-option -g renumber-windows on
set-option -g default-terminal "xterm-256color"
setw -g mode-keys vi
setw -g monitor-activity off
set -g visual-activity off
bind-key ^n next-window
bind-key ^p previous-window
# starcraft navigators
bind a select-pane -L
bind s select-pane -D
bind w select-pane -U
bind d select-pane -R
# border - enhanced visibility
set-option -g pane-active-border-style "fg=colour250,bg=default"
set-option -g pane-border-style "fg=colour235,bg=default"
set-option -g pane-border-lines heavy
set-option -g pane-border-indicators colour
set-option -g message-style "fg=black,bg=green"
set-option -g pane-border-format ""
set-option -g pane-border-status bottom
# status bar
set-option -g status-justify left
set-option -g status-style "bg=black,fg=white"
setw -g window-status-style "bg=black"
setw -g window-status-current-style "fg=black,bg=green"
set-option -g status-left-length 40
set-option -g status-right-length 80
set -g status-interval 1
set -g history-limit 1000000
set -g status-left '#[default]'
set -g status-right ''
# `+r reloads the configuration, handy
bind r source-file ~/.tmux.conf
set -g repeat-time 500
# Shift window dividers by simply typing Alt+Arrows, without the prefix (` or ctrl-a)
bind-key -n M-Left resize-pane -L 1
bind-key -n M-Up resize-pane -U 1
bind-key -n M-Right resize-pane -R 1
bind-key -n M-Down resize-pane -D 1
bind c new-window -c "#{pane_current_path}"
bind-key & kill-window
bind-key x kill-pane
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'wfxr/tmux-fzf-url'
set -g @plugin 'raine/tmux-file-picker'
bind C-f display-popup -E "tmux-file-picker"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run -b '~/.tmux/plugins/tpm/tpm'
set -sg escape-time 0