Make terms local to the tab they were opened from
Closed this issue · 6 comments
devth commented
kassio commented
Can you expand that? What do you mean by that?
devth commented
- I have a bunch of tabs open.
- Each tab has at least 1 term created via
Tnew
. - I have the
gxx
mapping setup that's recommended in the docs. - But when I use
gxx
the command doesn't always go to the term in the same tab. Sometimes it goes to other tabs' terminals, and I can't seem to make it work as desired.
I'm trying to replace tmux with neovim + tabs + neoterm. So when I run gxx
it should always target the terminal within the same tab.
devth commented
Thanks! This seems to be working. However, when I toggle via :Ttoggle
it often brings in the terminal from my other tab instead of toggling the tab-local terminal. 🤔
devth commented
I might be mistaken 🤔 . Let me test some more.
devth commented
After lots of usage I confirmed this doesn't always work. Sometimes <Plug>(neoterm-repl-send-line)
will send it to the term in another vim tab. Sometimes it works. Not sure why.