|
|
|
# better prefix key
|
|
|
|
set -g prefix C-a
|
|
|
|
bind C-a send-prefix
|
|
|
|
|
|
|
|
# better splitting
|
|
|
|
bind | split-window -h -c "#{pane_current_path}"
|
|
|
|
bind - split-window -v -c "#{pane_current_path}"
|
|
|
|
|
|
|
|
# better resizing
|
|
|
|
bind-key -r + resize-pane -U 10
|
|
|
|
bind-key -r = resize-pane -D 10
|
|
|
|
bind-key -r < resize-pane -L 10
|
|
|
|
bind-key -r > resize-pane -R 10
|
|
|
|
|
|
|
|
# 256 colors support
|
|
|
|
set -g default-terminal "screen-256color"
|
|
|
|
|
|
|
|
# sane scrolling
|
|
|
|
set -g mouse on
|
|
|
|
|
|
|
|
# PLUGINS
|
|
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
|
|
set -g @plugin 'christoomey/vim-tmux-navigator'
|
|
|
|
set -g @plugin "arcticicestudio/nord-tmux"
|
|
|
|
# END PLUGINS
|
|
|
|
|
|
|
|
# TMUX plugin manager (keep at the bottom of tmux.conf)
|
|
|
|
# requires git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
|
|
|
run -b '~/.tmux/plugins/tpm/tpm'
|