Open AndrewRayCode opened 9 years ago
I get it all the time as well, but during tab cycling. See issue linked above.
It happens for me when I cycle through tabs when NERDTree tab is open as by default. Any solutions for this.
I get a similar error:
Error detected while processing function <SNR>55_TabEnterHandler[16]..<SNR>55_RestoreNERDTreeViewIfPossible:
line 20:
E16: Invalid range: 2wincmd w
Press ENTER or type command to continue
I don't know how to trigger/reproduce the error, but it happens usually after codding a few hours.
After the error is initially triggered you get the error message above every time when I change the tab with NerdTree open.
@jistr do you have any idea how to fix this?
The shortcut
ctrl-w o
maximizes a pane:h CTRL-W_o
. It can be hit again to undo the minimization. If nerdtreetabs is toggled during the zoom in time, it gets in a bad way. It will no longer be open when you go to any other tab (even after zooming out). If you switch to another tab after opening it in zoomed mode, this error appears:It doesn't seem possible to get back to the regular nerdtree setup until vim is restarted(!).