kickstart.nvim/tmux.conf

47 lines
1.1 KiB
Plaintext

# Give ourselves a quick way to reload tmux config
unbind r
bind r source-file ~/.config/tmux/tmux.conf \; display "Reloaded ~/.config/tmux/tmux.conf"
# Rebind window splitting - match VIM
unbind v
unbind s
unbind % # split horizontal
unbind '"' # split vertical
bind v split-window -h -c "#{pane_current_path}"
bind s split-window -v -c "#{pane_current_path}"
# Set a leader more like the VIM one
unbind C-b
set -g prefix C-Space
# Act like vim
set -g mode-keys vi
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
#set -g @plugin 'tmux-plugins/tmux-sensible'
# Other examples:
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'dracula/tmux'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @dracula-show-powerline true
set -g @dracula-fixed-location "Gloucester"
set -g @dracula-plugins "time"
set -g @dracula-show-flags true
set -g @dracula-show-timezone true
set -g @dracula-show-left-icon session
set -g status-position top
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'