Skip to content

Instantly share code, notes, and snippets.

@heartcode
Created April 18, 2012 19:02
Show Gist options
  • Save heartcode/2415794 to your computer and use it in GitHub Desktop.
Save heartcode/2415794 to your computer and use it in GitHub Desktop.
Sublime Text 2 | Key Bindings - User
[
{ "keys": ["super+m"], "command": "toggle_minimap" },
{ "keys": ["super+d"], "command": "duplicate_line" },
{ "keys": ["super+up"], "command": "swap_line_up" },
{ "keys": ["super+down"], "command": "swap_line_down" }
]
@heartcode
Copy link
Author

These are my custom key bindings for Sublime Text 2. If you want to use them...

Save this file as "Default (OSX).sublime-keymap" under "Users/USERNAME/Library/Application Support/Sublime Text 2/Packages/User"

OR

  1. Copy the code
  2. In Sublime Text 2 open: "Sublime Text 2/Preferences/Key Bindings - User"
  3. Paste the code

For the supported and default bindings go to "Sublime Text 2/Preferences/Key Bindings - Default"

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment