tmux-plugins / tmux-resurrect

Persists tmux environment across system restarts.
MIT License
11.42k stars 424 forks source link

nvim is not ressurected #411

Open 0rtz opened 3 years ago

0rtz commented 3 years ago

Is there a way to resurrect nvim process that is ran like this: zsh->nnn(file manager)->nvim? Is it possible to specify custom save and restore strategy for example?

Areskul commented 2 years ago

In your tmux.config

set -g @plugin 'tmux-plugins/tmux-resurrect

set -g @resurrect-strategy-nvim 'session'
set -g @resurrect-capture-pane-contents 'on'
set -g @resurect-processes 'nvim zsh'

It even resurects my nested terms like bash -> zsh -> nvim

erikc96 commented 2 years ago

^ this doesn't work for me