summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tmux/.config/tmux/tmux.conf4
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