Skip to content

Instantly share code, notes, and snippets.

@dalgard
Last active September 11, 2015 09:25
Show Gist options
  • Save dalgard/99012d40e5d8813478f6 to your computer and use it in GitHub Desktop.
Save dalgard/99012d40e5d8813478f6 to your computer and use it in GitHub Desktop.

Sublime Text 3 preferences

My personal setup in OS X – for future reference.

Keyboard shortcuts

Key Action
Cmd + left/right Home/End
Cmd + d † Expand selection to word with multi-cursor (cmd + k to skip the current selection)
Cmd + j Join lines
Cmd + x/c/v † Line mode cut/copy/paste – always pastes above the current line
Cmd + ctrl + up/down † Move line up/down
Cmd + shift + space Expand selection to surrounding block
Cmd + shift + f Search in project
Cmd + shift + p Find and execute action

† with the cursor placed at any position on the line

Key Bindings – User

[
  { "keys": ["ctrl+super+backspace"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} },
  { "keys": ["super+minus"], "command": "toggle_comment", "args": { "block": false } },
  { "keys": ["super+alt+-"], "command": "toggle_comment", "args": { "block": true } }
]

Installed packages

"installed_packages": [
  "Alignment",
  "Better JavaScript",
  "Clipboard Manager",
  "Emmet",
  "Emmet Css Snippets",
  "FileDiffs",
  "Handlebars",
  "HTML-CSS-JS Prettify",
  "HTML5",
  "JSHint Gutter",
  "LESS",
  "Meteor Autocomplete (TernJS)",
  "MultiFill",
  "Sass",
  "Semantic UI",
  "SideBarEnhancements",
  "SublimeCodeIntel",
  "Text Pastry"
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment