tpope / vim-obsession

obsession.vim: continuously updated session files
http://www.vim.org/scripts/script.php?script_id=4472
1.74k stars 68 forks source link

session now saves path to socket for use in external software #76

Closed d2mpq closed 2 years ago

d2mpq commented 2 years ago

the path to neovim's remote control socket being in the session file is very useful for me, so i can open files in a specific neovim session from different shells. not sure if this is something you'd want to add to this plugin, perhaps not, but i thought i'd open the pr anyway since i'm using it in this way.

tpope commented 2 years ago

The purpose of the session file is to persist editor state when Vim isn't running. The purpose of v:servername is to connect to Vim while it is running. I don't think this is a good fit.