Adds new function to switch between line number mode (relative or absolute)