Skip to content

Instantly share code, notes, and snippets.

@daguilarm
Created March 2, 2019 09:44
Show Gist options
  • Save daguilarm/20ff6eaddd9115694ea79398c26e7c4a to your computer and use it in GitHub Desktop.
Save daguilarm/20ff6eaddd9115694ea79398c26e7c4a to your computer and use it in GitHub Desktop.
SublimeText key binding
[
// swap the keybindings for paste and paste_and_indent
{ "keys": ["super+v"], "command": "paste_and_indent" },
{ "keys": ["super+shift+v"], "command": "paste" },
{
"keys": ["super+w"], "command": "align_tab",
"args" : {"live_preview" : true}
},
// Go to top the current class namespace
{ "keys": ["f1"], "command": "find_use" },
// Expand the current class namespace
{ "keys": ["f2"], "command": "expand_fqcn" },
//Go to
{ "keys": ["f3"], "command": "implement" },
// Constructor property
{ "keys": ["f4"], "command": "insert_php_constructor_property" },
// Re-indent tags
{"keys": ["f5"], "command": "reindent", "args": {"single_line": false}},
// Markdown preview
{ "keys": ["super+p"], "command": "markdown_preview", "args": {"target": "browser", "parser":"markdown"} },
// Close tag
{ "keys": ["super+shift+p"], "command": "close_tag" },
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment