I have session at ~/.local/share/chezmoi, the autosave should trigger in any directory if I run nvim in that directory, and it's true and works.
But the previous behavior seems lost. When I open file with nvim $HISTFILE in ~/.local/share/chezmoi, then close it, now the session contain only file $HISTFILE, which is not what I desire and not the previous behaivor.
The autosave should automatically not triggered when opening file directly, i.e. nvim /path/to/file, nvim $HISTFILE, etc.
I have session at
~/.local/share/chezmoi
, the autosave should trigger in any directory if I runnvim
in that directory, and it's true and works. But the previous behavior seems lost. When I open file withnvim $HISTFILE
in~/.local/share/chezmoi
, then close it, now the session contain only file$HISTFILE
, which is not what I desire and not the previous behaivor. The autosave should automatically not triggered when opening file directly, i.e.nvim /path/to/file
,nvim $HISTFILE
, etc.Originally posted by @latipun7 in https://github.com/olimorris/persisted.nvim/issues/51#issuecomment-1461361010