-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdot_tmux.conf
More file actions
60 lines (46 loc) · 1.64 KB
/
dot_tmux.conf
File metadata and controls
60 lines (46 loc) · 1.64 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
# remap prefix to C-Space
unbind C-b
set-option -g prefix C-Space
bind-key C-Space send-prefix
# enable mouse support
set -g -q mouse on
# split panes using \ and -
bind \\ split-window -h
bind - split-window -v
unbind '"'
unbind %
# create new window with 'c'
bind c new-window -c "#{pane_current_path}"
# switch panes using Alt-arrow or Mac-arrow without prefix
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# allow typing in all windows
bind K setw synchronize-panes on
bind k setw synchronize-panes off
# don't rename windows automatically
set-option -g allow-rename off
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf \; display "Reloaded .tmux.conf"
####### PLUGINS #######
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'dracula/tmux'
set -g @dracula-plugins "git cpu-usage ram-usage ssh-session"
# Theme Configuration
set -g @dracula-show-empty-plugins false
set -g @dracula-git-disable-status false
set -g @dracula-git-no-untracked-files true
set -g @dracula-show-ssh-only-when-connected true
set -g @dracula-show-ssh-session-port true
# Theme Colours
set -g @dracula-git-colors "dark_gray white"
set -g @dracula-cpu-usage-colors "orange dark_gray"
set -g @dracula-ram-usage-colors "yellow dark_gray"
set -g @dracula-ssh-session-colors "cyan dark_gray"
# read local file, if it exists
if '[ -f ~/.tmux.conf.local ]' 'source ~/.tmux.conf.local';
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'