Closed pwnalone closed 5 months ago
No problem! I only ran into this issue because I use Neovim as my man-pager (e.g. export MANPAGER='nvim +Man!'
) and I sometimes open up man-docs in Neovim terminals. In other words, running nested Neovim instances isn't something I would normally want to do. :)
Bug Description
Split navigation stops working after opening/exiting Neovim from within a Neovim terminal window when using the Tmux integrations.
Minimal Config
Neovim
Tmux
Steps To Reproduce
Fix Description
This PR fixes the issue by checking if the
@pane-is-vim
Tmux option is already set to1
on initialization. If it is, then we set a flag to prevent unsetting the option on exit.