akinsho / toggleterm.nvim

A neovim lua plugin to help easily manage multiple terminal windows
GNU General Public License v3.0
4.06k stars 170 forks source link

Add session support #568

Closed ColinKennedy closed 3 months ago

ColinKennedy commented 3 months ago

Closes: https://github.com/akinsho/toggleterm.nvim/issues/567

Note: Currently we assume that we are the only owners of a Sessionx.vim file. Since (Neo)vim only allows one of these files at a time, we have to clear the contents completely. In the future ideally multiple x.vim files will be allowed. See https://github.com/akinsho/toggleterm.nvim/issues/567

ColinKennedy commented 3 months ago

This PR was a bit premature. It doesn't work with 2+ terminals in the same tab. Will need to fix and reopen.