-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
32 lines (25 loc) · 883 Bytes
/
.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
# Remap 'C-b' -> 'C-a' (Screen style)
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# EZ reload of config file using 'C-a + r'
bind r source-file ~/.tmux.conf
# Switch panes like Vim
bind h select-pane -L
bind l select-pane -R
bind j select-pane -U
bind k select-pane -D
set-window-option -g mode-keys vi
# Open new panes and windows in the current working directory
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'wfxr/tmux-power'
set -g @tmux_power_theme 'coral'
set -g default-terminal "xterm-256color"
set-option -g default-shell /bin/bash
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'