Skip to content

Instantly share code, notes, and snippets.

@bryanhunter
Created September 22, 2013 16:21
Show Gist options
  • Save bryanhunter/6661503 to your computer and use it in GitHub Desktop.
Save bryanhunter/6661503 to your computer and use it in GitHub Desktop.
Sublime Text key mappings
[
{ "keys": ["ctrl+shift+s"], "command": "save_all" },
{ "keys": ["ctrl+alt+s"],
"command": "run_existing_window_command", "args":
{
"id": "repl_shell",
"file": "config/Shell/Main.sublime-menu"
}
},
{ "keys": ["ctrl+alt+e"], "command": "repl_open", "args":
{
"type": "subprocess",
"external_id": "erlang",
"encoding": "utf8",
"cmd": {
"windows": ["erl", "-pa", "../ebin"],
"linux": ["erl", "-pa", "../ebin"],
"osx": ["erl", "-pa", "../ebin"]
},
"soft_quit": "\nexit\n",
"cwd": "$file_path",
"cmd_postfix": "\n", // postfix
"suppress_echo": true,
"syntax": "Packages/Erlang/Erlang.tmLanguage"
}
},
{ "keys": ["super+v"], "command": "paste_and_indent" },
{ "keys": ["super+shift+v"], "command": "paste" },
{ "keys": ["super+alt+t"], "command": "reindent" }
]
// More info: http://docs.sublimetext.info/en/latest/reference/key_bindings.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment