1
1
Fork 0
dotfiles/tmux/.tmux.conf
2021-04-11 18:35:54 -05:00

30 lines
839 B
Bash

# status bar to top
set-option -g status-position top
# enable focus events
set -g focus-events on
# Correct numbering
set -g base-index 1
set -g pane-base-index 1
set -g renumber-windows on
# Mappings
## <Leader> |,- Split panes
bind-key \\ split-window -h -c '#{pane_current_path}' # Split panes horizontally
bind-key - split-window -v -c '#{pane_current_path}' # Split panes vertically
## <Leader> h,j,k,l to switch pane
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'dracula/tmux'
set -g @plugin 'tmux-plugins/tmux-sidebar'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'