Search code examples
macossublimetextsublimerepl

How to create a keyboard shortcut for SublimeREPL


I am new to Sublime Text 2 on Mac OS. I installed the package SublimeREPL.

Is it possible to create a keyboard shortcut to run the file with SublimeREPL?

More precisely, here is a screenshot. I want to avoid going through this menu and run quickly with a keyboard shortcut.

enter image description here


Solution

  • You can set keyboard shortcuts for any menu item that you can select, in any app.

    1. Go to System PreferencesKeyboardShortcutsApp Shortcuts

    2. Click the + to add a new shortcut.

    3. Set the Application to Sublime Text.app, the Menu Title to the exact name of the menu option, and choose a Keyboard Shortcut.

    4. Click Add.