akinsho / akinsho/toggleterm.nvim

[Feature Request] Support Vim Sessions

Đang mở
#567 1 bình luận 5 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Lua
Star
5.6k
Fork
206
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.