Files
dotfiles/dot-conf/.tmux.conf
2023-11-20 12:57:48 -03:00

56 lines
1.4 KiB
Bash

unbind r
bind r source-file ~/.tmux.conf
# Change leader key to Ctrl + s
set -g prefix C-s
# Set shell
set -g default-shell /bin/zsh
# VI shit
setw -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
# unbinding conflicts with neovim-tree
unbind C-h
unbind C-j
unbind C-k
unbind C-l
# Start windows and panes at 1, not 0
set -g base-index 1
setw -g pane-base-index 1
# Use mouse scroll wheel
setw -g mouse on
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'ofirgall/tmux-window-name'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'b0o/tmux-autoreload'
# set -g @plugin 'dracula/tmux'
set -g @plugin 'catppuccin/tmux'
set -g @catppuccin_flavour 'macchiato'
set -g @dracula-plugins "cpu-usage tmux-ram-usage network-bandwidth continuum"
set -g @dracula-show-empty-plugins false
set -g @dracula-show-powerline true
set -g @dracula-show-flags true
set -g @dracula-show-left-icon "🐉" # 🐾
set -g @dracula-tmux-ram-usage-label "RAM"
set -g @dracula-continuum-mode time
# Set status bar to top
set -g status-position top
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run -b '~/.tmux/plugins/tpm/tpm'