vim-obsession icon indicating copy to clipboard operation
vim-obsession copied to clipboard

Obsession! does not unlet v:this_session

Open benknoble opened this issue 6 years ago • 1 comments

Since session tracking is stopped and the relevant file deleted, I contend that v:this_session should be unlet.

This is mostly because after running Obsession! the status indicator shows [S], as though there were (paused) tracking.

A different solution would be to remove the v:this_session part of the check from the status line flags, but I imagine part of the idea there was to keep the status line flag visible even when using non-Obsession session files.

benknoble avatar Dec 10 '18 01:12 benknoble

Can't unlet it but could set it to an empty string. My thinking was that leaving it set would be useful in case you later want to recreate it, but I guess that's a pretty contrived use case.

tpope avatar Dec 14 '18 16:12 tpope