sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
276 stars 14 forks source link

Set Key Bindings using the command palette #1222

Open julianmenzler opened 3 years ago

julianmenzler commented 3 years ago

Problem description

Creating custom key bindings is too complicated.

I struggle to create an entry for Toggle Side Bar, for example:

  1. Navigate to ~/Library/ApplicationSupport/Sublime Merge/Packages/User
  2. Open Default (OSX).sublime-keymap
  3. Enter JSON entry. However, how should it look like? What is the command string for this action etc.

Preferred solution

I'd like to see some assistance in the UI. Similar to JetBrains IDEs.

  1. Open the command palette

  2. Select a command

    image
  3. Press alt-enter

    image
  4. Choose a shortcut & click OK

Alternatives

UltraInstinct05 commented 3 years ago

Add, e.g., Edit key bindings to the command palette to open Default (OSX).sublime-keymap in the default text editor, for example.

It's already their in the menu Preferences -> Edit Key Bindings ... so it should be quite easy to add the same thing to the command palette as well.