-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
60 lines (46 loc) · 1.27 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
58
59
60
set -g default-terminal "xterm-kitty"
set -g renumber-windows on
set-option -sg escape-time 10
set-option -g focus-events on
set -as terminal-overrides ',*:Hls=\E]8;id=%p1%s;%p2%s\E\\:Hlr=\E]8;;\E\\'
unbind C-b
set-option -g prefix C-h
bind-key C-h send-prefix
# Split stuff
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
unbind Up
unbind Down
unbind Left
unbind Right
bind Up resize-pane -U 10
bind Down resize-pane -D 10
bind Left resize-pane -L 10
bind Right resize-pane -R 10
# Enable mouse mode (tmux 2.1 and above)
#set -g mouse on
unbind u
#bind u attach -c "#{pane_current_path}"
bind u source-file ~/.tmux.conf
bind-key -Tcopy-mode-vi 'v' send -X begin-selection
bind-key -Tcopy-mode-vi 'y' send -X copy-pipe "wl-copy"
bind s copy-mode
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'dracula/tmux'
set -g @dracula-show-battery false
set -g @dracula-show-network false
set -g @dracula-show-weather false
set -g @dracula-show-powerline true
set -g @dracula-show-flags true
set -g @dracula-military-time true
set -g @dracula-show-left-icon smiley
set -g @dracula-left-icon-padding 0
set -g @dracula-show-fahrenheit false
run -b '~/.tmux/plugins/tpm/tpm'