numToStr / FTerm.nvim

:fire: No-nonsense floating terminal plugin for neovim :fire:
MIT License
743 stars 23 forks source link

Previous window lost when float term closed #31

Closed Xuyuanp closed 3 years ago

Xuyuanp commented 3 years ago

Reproduce:

Start nvim and execute :split, we can use <C-w>p or :wincmd p to switch to previous window.

Open and close a float term, we can't switch back to previous window, because it's overwritten by the closed floating window which is not what we expected.