diff --git a/Brewfile b/Brewfile index 2ee4ada..92b1623 100644 --- a/Brewfile +++ b/Brewfile @@ -72,6 +72,8 @@ brew "dotenv-linter" brew "editorconfig-checker" # Useful examples at the command-line brew "eg-examples" +# Run arbitrary commands when files change +brew "entr" # CLI for templating and/or deploying FaaS functions brew "faas-cli" # Simple, fast and user-friendly alternative to find diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index a2889a5..72a44c4 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -6,16 +6,17 @@ ## Install plugins, starting with plugin manager set -g @tpm_plugins ' \ - tmux-plugins/tpm \ - catppuccin/tmux \ - christoomey/vim-tmux-navigator \ - jaclu/tmux-menus \ - sainnhe/tmux-fzf \ - tmux-plugins/tmux-continuum \ - tmux-plugins/tmux-resurrect \ - tmux-plugins/tmux-sensible \ - tmux-plugins/tmux-sessionist \ - tmux-plugins/tmux-yank \ + tmux-plugins/tpm \ + b0o/tmux-autoreload \ + catppuccin/tmux \ + christoomey/vim-tmux-navigator \ + jaclu/tmux-menus \ + sainnhe/tmux-fzf \ + tmux-plugins/tmux-continuum \ + tmux-plugins/tmux-resurrect \ + tmux-plugins/tmux-sensible \ + tmux-plugins/tmux-sessionist \ + tmux-plugins/tmux-yank \ ' set-option -sa terminal-overrides ",xterm*:Tc" @@ -58,7 +59,7 @@ bind -n M-H previous-window bind -n M-L next-window # Reload tmux config with + 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 + N bind N new-window @@ -80,6 +81,9 @@ set -g @continuum-boot-options 'iterm' ## https://github.com/tmux-plugins/tmux-resurrect 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 TMUX_FZF_LAUNCH_KEY="l"