-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
37 lines (26 loc) · 1.04 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
# remap prefix to Control + space
set -g prefix C-space
unbind C-b
bind C-space send-prefix
set -g default-terminal "xterm-256color"
set-window-option -g xterm-keys on
set-option -g default-shell "$SHELL"
set -g mouse on
# copy the path of the current pane (for new windows)
bind-key c new-window -c "#{pane_current_path}"
# copy the path of the current pane (for split panes)
bind-key % split-window -h -c "#{pane_current_path}"
bind-key '"' split-window -c "#{pane_current_path}"
# autreload tmux.conf
bind-key R source-file ~/.tmux.conf \; display-message "Configuration reloaded"
# respawn pane
bind-key r respawn-pane -k \; display 'Respawned Pane'
# Powerline
source "/Users/mesniltheo/.asdf/installs/python/3.8.6/lib/python3.8/site-packages/powerline/bindings/tmux/powerline.conf"
# Eliminate ESC key delay
set -sg escape-time 0
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrect'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run -b '~/.tmux/plugins/tpm/tpm'