Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Support Vim Sessions #567

Open
ColinKennedy opened this issue Apr 14, 2024 · 0 comments
Open

[Feature Request] Support Vim Sessions #567

ColinKennedy opened this issue Apr 14, 2024 · 0 comments

Comments

@ColinKennedy
Copy link

If you use Vim Sessions, e.g. :mksession Session.vim and then nvim -S Session.vim, the terminal buffer is restored but toggleterm.nvim doesn't recognize the restored terminal buffer as a "toggleterm" buffer. So the next :ToggleTerm call creates a second terminal. There's also other issues as well, for example the restored terminal won't have tte same styling as if it were created using :ToggleTerm.

Being able to restore the toggleterm terminal will likely require #528 so I'd consider the two issues to be related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant