As relative line numbers are only really needed in normal mode and in the current buffer, disable them in insert mode or when the buffer/window is not focused.
As relative line numbers are only really needed in normal mode and in the current buffer, disable them in insert mode or when the buffer/window is not focused.