feat(tmux): Adds b0o/tmux-autoreload, entr

Also fixes some minor configuration problems.
This commit is contained in:
2023-05-26 13:45:44 +03:00
parent 48b9df95ab
commit bc914a1c5f
2 changed files with 17 additions and 11 deletions

View File

@@ -72,6 +72,8 @@ brew "dotenv-linter"
brew "editorconfig-checker" brew "editorconfig-checker"
# Useful examples at the command-line # Useful examples at the command-line
brew "eg-examples" brew "eg-examples"
# Run arbitrary commands when files change
brew "entr"
# CLI for templating and/or deploying FaaS functions # CLI for templating and/or deploying FaaS functions
brew "faas-cli" brew "faas-cli"
# Simple, fast and user-friendly alternative to find # Simple, fast and user-friendly alternative to find

View File

@@ -6,16 +6,17 @@
## Install plugins, starting with plugin manager ## Install plugins, starting with plugin manager
set -g @tpm_plugins ' \ set -g @tpm_plugins ' \
tmux-plugins/tpm \ tmux-plugins/tpm \
catppuccin/tmux \ b0o/tmux-autoreload \
christoomey/vim-tmux-navigator \ catppuccin/tmux \
jaclu/tmux-menus \ christoomey/vim-tmux-navigator \
sainnhe/tmux-fzf \ jaclu/tmux-menus \
tmux-plugins/tmux-continuum \ sainnhe/tmux-fzf \
tmux-plugins/tmux-resurrect \ tmux-plugins/tmux-continuum \
tmux-plugins/tmux-sensible \ tmux-plugins/tmux-resurrect \
tmux-plugins/tmux-sessionist \ tmux-plugins/tmux-sensible \
tmux-plugins/tmux-yank \ tmux-plugins/tmux-sessionist \
tmux-plugins/tmux-yank \
' '
set-option -sa terminal-overrides ",xterm*:Tc" set-option -sa terminal-overrides ",xterm*:Tc"
@@ -58,7 +59,7 @@ bind -n M-H previous-window
bind -n M-L next-window bind -n M-L next-window
# Reload tmux config with <prefix> + r # Reload tmux config with <prefix> + r
bind r source-file ~/.dotfiles/config/tmux/tmux.conf \; display "tmux cfg reloaded!" bind r source-file ~/.config/tmux/tmux.conf \; display "tmux cfg reloaded!"
# Open a new window with <prefix> + N # Open a new window with <prefix> + N
bind N new-window bind N new-window
@@ -80,6 +81,9 @@ set -g @continuum-boot-options 'iterm'
## https://github.com/tmux-plugins/tmux-resurrect ## https://github.com/tmux-plugins/tmux-resurrect
set -g @resurrect-strategy-nvim 'session' set -g @resurrect-strategy-nvim 'session'
## https://github.com/b0o/tmux-autoreload
set-option -g @tmux-autoreload-configs '~/.config/tmux/tmux.conf'
## https://github.com/sainnhe/tmux-fzf ## https://github.com/sainnhe/tmux-fzf
TMUX_FZF_LAUNCH_KEY="l" TMUX_FZF_LAUNCH_KEY="l"