How to Change Sublime Text's Keyboard Shortcuts

Changing the keyboard shortcuts in Sublime Text is quick and easy:

  1. Open Sublime Text

  2. Press Ctrl + Shift + P

  3. Type the word key

  4. Select Preferences: Key Bindings

  5. Edit the file

Keyboard Shortcuts example:

[
    { "keys": ["ctrl+j"], "command": "move", "args": {"by": "characters", "forward": false} },
    { "keys": ["ctrl+l"], "command": "move", "args": {"by": "characters", "forward": true} },
    { "keys": ["ctrl+i"], "command": "move", "args": {"by": "lines", "forward": false} },
    { "keys": ["ctrl+k"], "command": "move", "args": {"by": "lines", "forward": true} },
    { "keys": ["ctrl+shift+j"], "command": "move_to", "args": {"to": "bol", "extend": false} },
    { "keys": ["ctrl+shift+l"], "command": "move_to", "args": {"to": "eol", "extend": false} },
    { "keys": ["ctrl+shift+i"], "command": "move", "args": {"by": "pages", "forward": false} },
    { "keys": ["ctrl+shift+k"], "command": "move", "args": {"by": "pages", "forward": true} },
]

The settings above can be interpreted as:

  • Ctrl + j move caret to left

  • Ctrl + l move caret to right

  • Ctrl + i move caret up

  • Ctrl + k move caret down

  • Ctrl + Shift + j home

  • Ctrl + Shift + l end

  • Ctrl + Shift + i page up

  • Ctrl + Shift + k page down

Note: Modifying keyboard shortcuts will overwrite the default settings.

Sublime Text Stable Build 4143