-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
47 lines (37 loc) · 1.11 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
if-shell "uname | grep -q Linux" {
unbind C-space
set -g prefix C-Space
bind C-Space send-prefix
}
if-shell "uname | grep -q Darwin" {
unbind C-b
set-option -g prefix C-a
bind C-a send-prefix
}
bind-key r source-file ~/.tmux.conf \; display "Reloaded!"
#act like vim
setw -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind | split-window -hc "#{pane_current_path}"
bind - split-window -vc "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
bind Space last-window
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'dracula/tmux'
#Start windows and panes at 1, not 0
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
set -g @dracula-show-powreline true
set -g @dracula-show-location false
set -g @dracula-plugins "weather cpu-usage ram-usage"
set -g @dracula-show-flags true
set -g @dracula-show-left-icon session
set -g status-position bottom
set -s default-terminal 'xterm-256color'
run '~/.tmux/plugins/tpm/tpm'