Skip to content

Instantly share code, notes, and snippets.

@cmwright
Last active December 15, 2015 02:49
Show Gist options
  • Save cmwright/5190278 to your computer and use it in GitHub Desktop.
Save cmwright/5190278 to your computer and use it in GitHub Desktop.
// install the run_multiple_commands plugin from https://gist.github.com/nilium/3327730
[
{"keys": ["ctrl+="], "command": "insert", "args": {"characters": " => "}},
{"keys": ["ctrl+p"], "command": "insert_snippet", "args": {"contents": "params[:$0]"}},
{"keys": ["ctrl+;"], "command": "run_multiple", "args": {"commands": [
{ "command": "move_to", "args": {"to": "eol"} },
{ "command": "insert", "args": {"characters": ";"} }
]}},
{"keys": ["super+shift+v"], "command": "paste" },
{"keys": ["super+v"], "command": "paste_and_indent"},
{"keys": ["ctrl+shift+,"], "command": "insert_snippet", "args": {"contents": "<%= $0 %>"}},
{"keys": ["ctrl+enter"], "command": "insert_snippet", "args": {"contents": "<br />"}},
{"keys": ["ctrl+shift+tab"], "command": "mark_and_move_window_select"},
{"keys": ["ctrl+tab"], "command": "mark_and_move_window_toggle"},
{"keys": ["ctrl+m"], "command": "mark_and_move_do_it_all"},
{"keys": ["alt+m"], "command": "mark_and_move_next"},
{"keys": ["alt+shift+m"], "command": "mark_and_move_prev"},
{"keys": ["ctrl+shift+m"], "command": "mark_and_move_recall"},
{"keys": ["ctrl+alt+m"], "command": "mark_and_move_clear"},
{"keys": ["ctrl+shift+'"], "command": "change_quotes"}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment