generated from ellisonleao/nvim-plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Did you check the docs?
- I have read all the docs
Is your feature request related to a problem? Please describe.
I'm using the auto-session plugin for Neovim (github.com/rmagatti/auto-session), which restores my editor session for a specific directory.
Sometimes I keep a terminal open in that session. The problem is that when I call toggle(), it always opens a new terminal – even though the one restored by auto-session is already there.
Describe the solution you'd like
It would be helpful if the toggle() function could first check whether a terminal is already present in the restored session.
If one exists, it should simply close / hide that existing terminal instead of always opening a brand new one.
Describe alternatives you've considered
For now, I manually close the old terminal by running :q.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request