:set numberwidth=2 in my vimrc, but this value is always returned to
4 inside my windows.
It seems I need to use some autocommand to always force this value back to
In fact, even more alarming: when I force a short file to
:set numberwidth=2 manually (to regain two columns of space), once I do ANYTHING at this point, it reverts. Switch window/tab/buffer, enter insert mode (!), you name it. I can move the cursor without it reverting, however. The same behavior is seen with other window-local settings I've tried such as
relativenumber. So I suspect perhaps some plugin might be culpable. But how to debug this?
- I would like to not use an autocommand to do this if necessary
- I would like to know what are the various things triggering this to reset to the default
- If I really do must use an autocommand to do this, which autocommand should I use?