-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
57 lines (44 loc) · 1.36 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
54
55
56
57
unbind r
bind r source-file ~/.tmux.conf
set -g history-limit 10000
set -g default-terminal "screen-256color"
set-option -sg escape-time 10
set-option -g focus-events on
set-option -sa terminal-features ',screen-256color:RGB'
set-option -g default-shell "/usr/bin/fish"
set -g prefix C-a
unbind C-b
bind-key C-a send-prefix
setw -g mode-keys vi
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
bind -r C-h select-window -t :- # Move to previous window
bind -r C-l select-window -t :+ # Move to next window
bind-key -r h resize-pane -L 5
bind-key -r j resize-pane -D 5
bind-key -r k resize-pane -U 5
bind-key -r l resize-pane -R 5
unbind %
bind | split-window -h
unbind '"'
bind - split-window -v
bind x killp
bind X killw
bind -r m resize-pane -Z
set -g mouse on
# tpm plugin
set -g @plugin 'tmux-plugins/tpm'
# list of tmux plugins
# set -g @plugin 'jimeh/tmux-themepack' # to configure tmux theme
# set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'dracula/tmux'
# dracula customizations
set -g @dracula-show-powerline true
set -g @dracula-plugins "battery time git"
set -g @dracula-show-flags true
set -g @dracula-show-left-icon session
set -g pane-active-border-style fg='#6272a4'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'