Function added for mode-specific linum toggling