sublimetext3 Keybindings

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Introduction

Keybindings are, as a lot of things in Sublime Text, JSON. Make sure you understand how to use them, they're going to save you a lot of time!

Syntax

  • keys: [list] a list of keystroke to press
  • command: [string] the command to run
  • args: [dict] the argument to pass to the command
  • context: [list] a list of checker that will tell if the shortcut is enabled

Remarks

Shortcuts have to be stored in a file called Default.sublime-keymap to be taken into account by Sublime Text.

Platform specific

What if I want to create some shortcuts only for OSX for example?

Well, you can. Just add (<platform>) after the Default. Here are the 3 possibilities:

  • Default (Windows).sublime-keymap
  • Default (Linux).sublime-keymap
  • Default (OSX).sublime-keymap


Got any sublimetext3 Question?