Skip to content

Instantly share code, notes, and snippets.

@JamieMason
Last active August 19, 2022 09:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JamieMason/a0c3d0f68fd0791f89345eb283094696 to your computer and use it in GitHub Desktop.
Save JamieMason/a0c3d0f68fd0791f89345eb283094696 to your computer and use it in GitHub Desktop.
Reconfigure Sublime Text Keyboard Shortcuts to match VS Code

Reconfigure Sublime Text Keyboard Shortcuts to match VS Code

Add the following to ~/Library/Application Support/Sublime Text 3/Packages/User/Default (OSX).sublime-keymap.

[
  { "keys": ["alt+down"], "command": "swap_line_down" },
  { "keys": ["alt+z"], "command": "toggle_setting", "args": { "setting": "word_wrap" } },
  { "keys": ["alt+up"], "command": "swap_line_up" },
  { "keys": ["shift+alt+down"], "command": "duplicate_line" },
  { "keys": ["shift+alt+f"], "command": "js_prettier" },
  { "keys": ["shift+alt+i"], "command": "split_selection_into_lines" },
  { "keys": ["shift+alt+up"], "command": "duplicate_line" },
  { "keys": ["super+k", "super+w"], "command": "close_all" },
  { "keys": ["super+shift+l"], "command": "find_all_under" },
  { "keys": ["super+b"], "command": "toggle_side_bar" }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment