kassio/neoterm

Command to list all open terminals

Closed this issue · 1 comments

Is it possible to list all the terminals opened in a single (neo)vim session? These terminals can be added via :Tnew and toggled from time to time. I've gone through the documentation but couldn't find any traces. It'd be very handy if there's a command just like listing the open buffers with :ls in vim.

Thanks again for the exciting neoterm!

Hi there, thanks for your issue.

So, :ls will list all buffers, including the neoterm ones. But if you one to see just the neoterm opened ids you could to something like: :echo keys(g:neoterm.instances).

Hope this helps.