akinsho / akinsho/toggleterm.nvim

[Feature Request] Support Vim Sessions

Open
#567 1 comment 5 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
5.6k
Forks
206
PR merge metrics
No merged PRs in 30d

Description

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 https://github.com/akinsho/toggleterm.nvim/issues/528 so I'd consider the two issues to be related.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.