akinsho / akinsho/toggleterm.nvim

[Feature Request] Support Vim Sessions

未关闭
#567 1 条评论 5 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Lua
星标
5.6k
派生
206
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。