

On the right side file, add the below json code into brackets. On the left side file, all default Sublime Text shortcut key settings and right side custom shortcut settings.

This will open new Sublime Text window with two files open:

Here is how you can do it.įirst go to the menu Preferences > Key Bindings. But when you want to turn Word Wrap on or off many times, it becomes headache to turn Word Wrap on off from menu.įor that, you can create custom shortcut to turn Word wrap on off easily. While you can turn word wrap on or off from Tools > Word Wrap menu. For example, You need to turn on word wrap to see or copy all the text of line and need to turn off word wrap to view or adjust indentation. Like a lot of things in Sublime, this can at first seem annoying and non-intuitive. Instead you use the preference file to override the default shortcuts. Sublime Text is very DIY so there isn’t a fancy GUI to help you change keyboard shortcuts. Sometimes you need to create custom shortcut for required features. They’re located under Sublime Text 2 > Preferences > Key Bindings - User. Youll love the slick user interface and extraordinary features. which facilitates developers to change settings easily. Sublime Text is a comprehensive text editor that supports code, html and prose.

Sublime Text provides variety of default shortcuts like for font size, managing file etc. Note that this code will run the macro that is located in Packages/User and is named semicolon.sublime-macro on pressing the Super+Alt+ keys.Sublime Text is a sophisticated text editor developed by Jon Skinner features Python API. Here super is the Winkey in Windows or Linux, and a command on OSX operating system. The following example shows how to perform key bindings in Windows − Key maps of the corresponding platform will be loaded in the Sublime Text editor.Ī user can open the keymap file or default key bindings using the option Preferences → Key Bindings. Sublime Text settings are stored and managed in a collection of JSON files as key-value pairs, in files that have a. sublime-keymap files.įor better integration, it is important to keep separate key map files for Linux, OSX and Windows. Integrate its own functions and related materials. They are defined in the JSON format and are stored in. SublimeText is front-end, so currently only some general plug-ins are installed. Key bindings in Sublime Text helps a user to process and map the sequences of key presses to actions.
