-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
50 lines (39 loc) · 1.31 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
# prefix keys
unbind C-b
set-option -g prefix C-Space
bind-key C-Space send-prefix
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel
# Reload config file
unbind r
bind-key r source-file ~/.tmux.conf \; display-message "Config reloaded!"
# Set position of status bar
set-option -g status-position top
# Mouse support
set -g mouse on
# Vim movement keys
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# Sesh binding
bind-key C-s run-shell "tmuxifier new-session #S" \;
# Move between windows
bind-key -n M-l next-window
bind-key -n M-h previous-window
# Set new panes to open in current directory
bind c new-window -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
# :ist of plugins
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'fabioluciano/tmux-tokyo-night'
### Enable transparency
set -g @theme_left_separator ''
set -g @theme_right_separator ''
set -g @theme_transparent_status_bar 'true'
set -g @theme_transparent_left_separator_inverse ''
set -g @theme_transparent_right_separator_inverse ''
set -g @theme_disable_plugins 1
set -g @plugin 'tmux-plugins/tpm'
run '~/.tmux/plugins/tpm/tpm'