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

Enable saving of Neovim's terminal buffers #24

Open chapati23 opened 8 years ago

chapati23 commented 8 years ago

Neovim has a neat terminal emulator. If you call :terminal then the active buffer will turn into a terminal buffer => https://neovim.io/doc/user/nvim_terminal_emulator.html

Don't know enough about the inner workings of that but:

Would it be possible to have vim-obsession also save those :terminal buffers?

tpope commented 8 years ago

Meaning what, exactly? We certainly can't persist the exact state of a running shell.

chapati23 commented 8 years ago

Meaning preserving the buffer and restore a fresh terminal on relaunch. That'd be very powerful and basically could replace tmux for me.

jaypozo commented 7 years ago

I would also be interested in this feature.

erlandsona commented 5 years ago

I'm also expecting this functionality. Here's prayin'! PS: tpope is my hero!

tpope commented 5 years ago

Seems like this should be implemented Neovim side? Neovim is generating the session, we're just managing how it happens.

erlandsona commented 5 years ago

That makes sense :+1:

ColinKennedy commented 5 months ago

Related: https://github.com/neovim/neovim/issues/28297