Set linum-format for terminal mode.