Closed mtglsk closed 9 years ago
Indeed, I can reproduce this. I'll think about how best to can change the way the auto-closing is handled.
If you're curious I believe this happens because by default autocmd
s don't trigger recursively (more details here - autocmd-nested
).
Fixed in 187d1d5fe4437e6af908c18b94e06ffa9414c6a5. Let me know if you run into any issues.
Note that for your autocmd
s to work reliably (e.g. also with split
) you should change them to:
autocmd VimEnter,WinEnter,BufWinEnter * set cul
autocmd WinLeave * set nocul
Works great! Very much thanks!
I have some autocmd's on winenter and winleave, which afaik don't work with your plugin.
autocmd WinLeave * set cul
autocmd WinEnter * set nocul