From 909cb83f60f61eae9b7dc32577769506ecbe2d7c Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Mon, 2 Feb 2026 22:08:07 +0000 Subject: Fix issue with tmux not restoring neovim sessions --- tmux/.config/tmux/tmux.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-13-gbd6f