Skip to content

Instantly share code, notes, and snippets.

@nafiesl
Created December 28, 2019 05:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nafiesl/a8beee3d4a6e020f0baba407732666e3 to your computer and use it in GitHub Desktop.
Save nafiesl/a8beee3d4a6e020f0baba407732666e3 to your computer and use it in GitHub Desktop.
Sublime Key Bindings
[
// { "keys": ["ctrl+k", "ctrl+t"], "command": "title_case" },
{ "keys": ["ctrl+shift+g"], "command": "find_all_under" },
{ "keys": ["ctrl+shift+up"], "command": "duplicate_line" },
{ "keys": ["ctrl+shift+down"], "command": "duplicate_line" },
// ctrl+alt+up and ctrl+alt+down are conflicted with window manager keyboard shortcuts
// We need to disable Window Manager -> Keyboard: Upper and Bottom workspace shortcuts
{ "keys": ["ctrl+alt+up"], "command": "select_lines", "args": {"forward": false} },
{ "keys": ["ctrl+alt+down"], "command": "select_lines", "args": {"forward": true} },
{ "keys": ["alt+shift+up"], "command": "swap_line_up" },
{ "keys": ["alt+shift+down"], "command": "swap_line_down" },
{ "keys": ["ctrl+shift+tab"], "command": "reindent", "args": {"single_line": false} },
{ "keys": ["f6"], "command": "expand_fqcn" },
{ "keys": ["shift+f6"], "command": "expand_fqcn", "args": {"leading_separator": true} },
{ "keys": ["f5"], "command": "find_use" },
{ "keys": ["f4"], "command": "import_namespace" },
{ "keys": ["shift+f12"], "command": "goto_definition_scope" },
{ "keys": ["ctrl+shift+w"], "command": "toggle_setting", "args": {"setting": "word_wrap"} },
{ "keys": ["f7"], "command": "insert_php_constructor_property" }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment