-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.tmux.conf
51 lines (43 loc) · 2.19 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
# ████████╗███╗ ███╗██╗ ██╗██╗ ██╗ ██████╗ ██████╗ ███╗ ██╗███████╗
# ╚══██╔══╝████╗ ████║██║ ██║╚██╗██╔╝ ██╔════╝██╔═══██╗████╗ ██║██╔════╝
# ██║ ██╔████╔██║██║ ██║ ╚███╔╝ ██║ ██║ ██║██╔██╗ ██║█████╗
# ██║ ██║╚██╔╝██║██║ ██║ ██╔██╗ ██║ ██║ ██║██║╚██╗██║██╔══╝
# ██║ ██║ ╚═╝ ██║╚██████╔╝██╔╝ ██╗██╗╚██████╗╚██████╔╝██║ ╚████║██║
# ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝
# changing the command button to C-z
unbind C-b
set -g prefix M-z
bind Space send-prefix
# Using the mouse
set -g mouse on
# Vertical split with g or C-g
unbind g
unbind C-g
bind-key g split-window -h
bind-key C-g split-window -h
# Horizontal split with h or C-h
unbind h
unbind C-h
bind-key h split-window
bind-key C-h split-window
# quiting a pane
bind -n M-q kill-window
# bind-key r source-file ~/.tmux.conf
bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced'
# plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'dracula/tmux'
set -g @plugin 'toddyamakawa/tmux-prefixless'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-resurrect'
# dracula config
set -g @dracula-plugins 'Battary git time kubernetes-context'
set -g @dracula-show-powerline true
set -g @dracula-show-flags true
set -g @dracula-show-empty-plugins false
set -g @dracula-military-time false
set -g @dracula-show-left-icon session
set -g @dracula-git-show-current-symbol ✓
set -g @dracula-git-show-diff-symbol !
run '~/.tmux/plugins/tpm/tpm'