Closed JS-Zheng closed 2 years ago
Vim version: 8.2.4700 asyncrun.vim version: 9f8e500
The focus will be changed to a wrong tab page when using the following option combination :
{'mode': 'terminal', 'pos': 'tab', 'focus': 0, 'reuse': 1}
IMHO, this bug is due to reuse option will not open a new tab; therefore, it should jump to the last accessed tab page rather than the relative left/right tab of the terminal tab: https://github.com/skywind3000/asyncrun.vim/blob/9f8e50033cb724d8856907a5fbf4685eb3efda24/plugin/asyncrun.vim#L1482-L1489
reuse
Vim version: 8.2.4700 asyncrun.vim version: 9f8e500
The focus will be changed to a wrong tab page when using the following option combination :
IMHO, this bug is due to
reuse
option will not open a new tab; therefore, it should jump to the last accessed tab page rather than the relative left/right tab of the terminal tab: https://github.com/skywind3000/asyncrun.vim/blob/9f8e50033cb724d8856907a5fbf4685eb3efda24/plugin/asyncrun.vim#L1482-L1489