diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2026-02-02 22:08:07 +0000 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2026-02-02 22:08:07 +0000 |
| commit | 909cb83f60f61eae9b7dc32577769506ecbe2d7c (patch) | |
| tree | 2f5b97426e0fe1b7f3f654d02760e52e7b5064c8 | |
| parent | 36c5fe1e5098f466e1eed1a71fad12af7d3a4b70 (diff) | |
Fix issue with tmux not restoring neovim sessions
| -rw-r--r-- | tmux/.config/tmux/tmux.conf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf index ee47425..4855a88 100644 --- a/tmux/.config/tmux/tmux.conf +++ b/tmux/.config/tmux/tmux.conf @@ -102,8 +102,10 @@ set -g message-command-style "fg=${nord_cyan},bg=${nord_black}" # Informs tmux-resurrect to use neovim sessions when restoring. set -g @resurrect-strategy-nvim 'session' - set -g @continuum-restore 'on' +# NixOS wraps Neovim so the below +# tells the plugin to look for any process string containing "nvim" and execute it as "nvim". +set -g @resurrect-processes '"~nvim->nvim *"' # Plugins. run-shell ~/.config/tmux/plugins/tmux-resurrect/resurrect.tmux |
