If you change the numbering from relative to absolute and then enter and exit insert mode, the numbering will revert to relative. This will track the current state and return to that after leaving insert mode.
* Additional check for g:UseNumberToggleTrigger * Extended documentation
When a window is no longer active, we want absoulte instead of relative line numbering... Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
…en number and relativenumber