The topic pretty much describes my problem. I would like to use line highlight without gutter. Is there a way to achieve this?
Thanks,
Vjekoslav
The topic pretty much describes my problem. I would like to use line highlight without gutter. Is there a way to achieve this?
Thanks,
Vjekoslav
Confirmed on ST3 build 3111 on Windows 7x64 and Ubuntu x64, fresh state, having the following in the Packages\User\Preferences.sublime-settings
file doesn’t highlight the current line:
{
"highlight_line": true,
"gutter": false
}
Guessing this is a bug, but maybe it is intentional… I can think of some scenarios where it would be undesirable to highlight the current line when there is no gutter, for example in the find/replace textboxes…
I see a bug has been filed here: https://github.com/SublimeTextIssues/Core/issues/586
Yeah, that’s good to see. Although it’s been almost 2 years since the bug was reported so it doesn’t give me much hope that the bug will be fixed.
As a work around, you can disable the line_numbers
and fold_buttons
settings, which will drastically reduce the “gutter” area size:
–>
Keybind on some .sublime-keymap
[
{ "keys": ["ctrl+k", "ctrl+n"], "command": "toggle_settings", "args":
{"settings": ["line_numbers", "fold_buttons", "mini_diff"]}, "same_value": true },
]
Hi, I hate to necro my own thread, but I just upgraded to Sublime 4 and this bug is still present and I can se that bug report kingkeith linked is still open. How come?
There could be several reasons
SublimeHQ
is still a pretty small team (perhaps only ~2 engineers working on ST) and the current list of open issues is ~1800. I guess they need to effectively focus on addressing issues that are affecting a significant proportion of users and can’t afford to focus on niche issues.