Switch to tmux as default terminal multiplexer.

This commit is contained in:
2023-09-08 10:39:47 +12:00
parent 8ab535f06e
commit eb296158f8
2 changed files with 23 additions and 14 deletions

19
.tmux.conf Normal file
View File

@ -0,0 +1,19 @@
# Mouse support for tmux scrollback and copy
set-option -g set-clipboard on
set-option -g mouse on
# Keep current path when creating new windows or panes
bind c new-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind '"' split-window -v -c "#{pane_current_path}"
# Install tpm plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'dracula/tmux'
# Make dracula theme more minimal
set -g @dracula-plugins " "
# Initialise tpm
run '~/.tmux/plugins/tpm/tpm'