Skip to content

Instantly share code, notes, and snippets.

@handrus
Created February 4, 2015 21:04
Show Gist options
  • Save handrus/46999769e8d99bc54b44 to your computer and use it in GitHub Desktop.
Save handrus/46999769e8d99bc54b44 to your computer and use it in GitHub Desktop.
Sublime preferences and project template
[
{ "keys": ["ctrl+super+t"], "command": "phpcs_clear_sniffer_marks" },
{ "keys": ["alt+d"], "command": "goto_definition" },
{ "keys": ["ctrl+super+d"], "command": "goto_drupalapi" }
]
{
"folders":
[
{
"follow_symlinks": true,
"path": "/var/www/my-project"
}
],
"settings":
{
"phpcs":
{
"phpcs_additional_args": {
"--standard": "/home/MYUSER/.composer/vendor/drupal/coder/coder_sniffer/Drupal"
}
}
}
}
{
"always_prompt_for_file_reload": false,
"font_face": "Menlo",
"font_size": 10,
"ignored_packages":
[
"Vintage"
],
"remember_full_screen": true,
"shift_tab_unindent": false,
"show_encoding": true,
"theme": "Wombat.sublime-theme",
"trim_trailing_white_space_on_save": true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment