Skip to content

Instantly share code, notes, and snippets.

@Makopo
Last active December 25, 2015 23:09
Show Gist options
  • Save Makopo/7055025 to your computer and use it in GitHub Desktop.
Save Makopo/7055025 to your computer and use it in GitHub Desktop.
If you want to change the keymap for lslint, modify your sublime-keymap file like this. This sample code assigns build command to Command + L only when .lsl or .ossl file.
[
// for .lsl files
{
"keys": ["super+l"], // Change here - this is Command + L , for example
"command": "build",
"context":[
{ "key": "selector", "operator": "equal", "operand": "source.lsl" }
]
},
// for .ossl files
{
"keys": ["super+l"], // Change here
"command": "build",
"context":[
{ "key": "selector", "operator": "equal", "operand": "source.ossl" }
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment