I work using tabpages as my primary organisation method, specifically using tabdrop.
This means that when I open my nvim instance I see my alpha dashboard, I then use telescope to open a file using tabdrop and a new tabpage is created with my file.
The problem is this means that the first tabpage (which contains alpha) is not automatically closed.
From what I can see, this is currently handled by the BufUnload autocmd. However, if I try adding TabNew then it doesn't work since after switching tabs there is no alpha instance in the current tab to close.
I work using tabpages as my primary organisation method, specifically using
tabdrop.This means that when I open my nvim instance I see my alpha dashboard, I then use telescope to open a file using tabdrop and a new tabpage is created with my file.
The problem is this means that the first tabpage (which contains alpha) is not automatically closed.
From what I can see, this is currently handled by the
BufUnloadautocmd. However, if I try addingTabNewthen it doesn't work since after switching tabs there is noalphainstance in the current tab to close.