Skip to content

Instantly share code, notes, and snippets.

@AhiyaHiya
Last active October 28, 2016 04:53
Show Gist options
  • Save AhiyaHiya/0507c5b953cb96ccedbc678647b8359b to your computer and use it in GitHub Desktop.
Save AhiyaHiya/0507c5b953cb96ccedbc678647b8359b to your computer and use it in GitHub Desktop.
Sublime keystroke settings to have the same mappings as Xcode
[
{ "keys": ["super+shift+["], "command": "prev_view" },
{ "keys": ["super+shift+]"], "command": "next_view" },
{ "keys": ["super+alt+left"], "command": "fold" },
{ "keys": ["super+alt+right"], "command": "unfold" },
{ "keys": ["super+alt+["], "command": "swap_line_up" },
{ "keys": ["super+alt+]"], "command": "swap_line_down" },
{ "keys": ["ctrl+super+j"], "command": "goto_definition" },
{ "keys": ["super+shift+o"], "command": "goto_symbol_in_project" },
{ "keys": ["ctrl+super+left"], "command": "jump_back" },
{ "keys": ["ctrl+super+right"], "command": "jump_forward" },
{ "keys": ["ctrl+super+up"], "command": "switch_file", "args": {"extensions": ["cpp", "cxx", "cc", "c", "hpp", "hxx", "hh", "h", "ipp", "inl", "m", "mm"]} },
{ "keys": ["control+shift+l"], "command": "expand_selection", "args": {"to": "line"} },
{ "keys": ["super+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment