diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 829e387..fd49d99 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -1,13 +1,14 @@ -# Set 24-bit color mode -set-option -sa terminal-overrides ",xterm*:Tc" +# Set up the terminal overrides +set-option -g default-terminal 'screen-256color' +set-option -sa terminal-overrides ",xterm-256color:RGB" # Enable mouse support set -g mouse on # Set prefix to Ctrl+Space -unbind C-b -set -g prefix C-Space -bind C-Space send-prefix +#unbind C-b +#set -g prefix C-Space +#bind C-Space send-prefix # Shift Alt vim keys to switch windows bind -n M-H previous-window @@ -19,6 +20,14 @@ set -g pane-base-index 1 set-window-option -g pane-base-index 1 set-option -g renumber-windows on +# Miscellaneous settings +set -g detach-on-destroy off # don't exit from tmux when closing a session +set -g escape-time 0 # zero-out escape time delay +set -g history-limit 1000000 # increase history size +set -g set-clipboard on # use system clipboard +set -g status-position top # macOS / darwin style +set -g default-terminal "${TERM}" + # Set vi-mode set-window-option -g mode-keys vi @@ -34,9 +43,33 @@ bind % split-window -h -c "#{pane_current_path}" # Configure Tmux plugins set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' -set -g @plugin 'christoomey/vim-tmux-navigator' -set -g @plugin 'egel/tmux-gruvbox' -set -g @tmux-gruvbox 'dark256' set -g @plugin 'tmux-plugins/tmux-yank' +set -g @plugin 'tmux-plugins/tmux-resurrect' +set -g @plugin 'tmux-plugins/tmux-continuum' +set -g @plugin 'fcsonline/tmux-thumbs' +set -g @plugin 'sainnhe/tmux-fzf' +set -g @plugin 'wfxr/tmux-fzf-url' +set -g @plugin 'egel/tmux-gruvbox' +set -g @plugin 'christoomey/vim-tmux-navigator' +set -g @plugin 'omerxx/tmux-sessionx' +set -g @plugin 'omerxx/tmux-floax' + +set -g @floax-width '80%' +set -g @floax-height '80%' +set -g @floax-bind 'p' +set -g @floax-change-path 'true' + +set -g @sessionx-x-path '~/dotfiles' +set -g @sessionx-window-height '85%' +set -g @sessionx-window-width '75%' +set -g @sessionx-zoxide-mode 'on' +set -g @sessionx-custom-paths-subdirectories 'false' +set -g @sessionx-filter-current 'false' + +set -g @continuum-restore 'on' + +set -g @resurrect-strategy-nvim 'session' + +set -g @tmux-gruvbox 'dark' run '~/.tmux/plugins/tpm/tpm'