Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sublime Text keystroke toggle line numbers show/hide
{
"keys": ["ctrl+alt+l"],
"command": "toggle_setting",
"args": {
"setting": "line_numbers"
}
@alancapc

This comment has been minimized.

Copy link

alancapc commented Aug 20, 2015

Thanks!

@dperrymorrow

This comment has been minimized.

Copy link

dperrymorrow commented Mar 17, 2016

good stuff!

@divusiulius

This comment has been minimized.

Copy link

divusiulius commented Jul 23, 2017

I couldn't get it working in the original version. I know that this should work. So I stared at it and then I noticed that there were three (3) curly brackets. And simply not allowed. Added the forth curly bracket, voila !!!!, worked like a charm!

[

{ "keys": ["ctrl+alt+l"], "command": "toggle_setting",
"args": { "setting": "line_numbers" }},

]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.