mirror of
https://github.com/anthonyoteri/dotfiles.git
synced 2026-06-05 15:46:54 -04:00
feat: additional plugins and opions for tmux
This commit is contained in:
+41
-8
@@ -1,13 +1,14 @@
|
|||||||
# Set 24-bit color mode
|
# Set up the terminal overrides
|
||||||
set-option -sa terminal-overrides ",xterm*:Tc"
|
set-option -g default-terminal 'screen-256color'
|
||||||
|
set-option -sa terminal-overrides ",xterm-256color:RGB"
|
||||||
|
|
||||||
# Enable mouse support
|
# Enable mouse support
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
|
|
||||||
# Set prefix to Ctrl+Space
|
# Set prefix to Ctrl+Space
|
||||||
unbind C-b
|
#unbind C-b
|
||||||
set -g prefix C-Space
|
#set -g prefix C-Space
|
||||||
bind C-Space send-prefix
|
#bind C-Space send-prefix
|
||||||
|
|
||||||
# Shift Alt vim keys to switch windows
|
# Shift Alt vim keys to switch windows
|
||||||
bind -n M-H previous-window
|
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-window-option -g pane-base-index 1
|
||||||
set-option -g renumber-windows on
|
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 vi-mode
|
||||||
set-window-option -g mode-keys vi
|
set-window-option -g mode-keys vi
|
||||||
|
|
||||||
@@ -34,9 +43,33 @@ bind % split-window -h -c "#{pane_current_path}"
|
|||||||
# Configure Tmux plugins
|
# Configure Tmux plugins
|
||||||
set -g @plugin 'tmux-plugins/tpm'
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
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-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'
|
run '~/.tmux/plugins/tpm/tpm'
|
||||||
|
|||||||
Reference in New Issue
Block a user