acarabott / supercollider-sublime

Sublime Text 3 Package for SuperCollider

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to disable all shortcuts?

nhthn opened this issue · comments

I just want to use this for syntax highlighting and don't need any of the default key bindings. Any way I can disable them? ctrl+s does not work for saving anymore.

You can override all shortcuts by creating a "User (Windows).sublime-keymap" file and overriding the defaults.

Lazily I had just copied the Mac shortcuts to Windows and Linux without thinking about it!

Would you be interested in contributing a set of Windows shortcuts? I, and others would really appreciate it!

On 24 Jul 2016, 11:18 +0900, Nathan Ho notifications@github.com, wrote:

I just want to use this for syntax highlighting and don't need any of the default key bindings. Any way I can disable them? ctrl+s does not work for saving anymore.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (#5), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAECVLhHFQkIeeE9B7qvhlZp6lc7g_yVks5qYst7gaJpZM4JTfHb).

I don't want to change them to other shortcuts -- I just want to remove them completely since I don't need that functionality. All four of the settings files under Package Settings > SuperCollider are blank so I'm not sure what I specifically need to add to get rid of them.

You need to override them. Copy all of the settings from the "Default..." file to your User file and set the short cut to an empty string ""

On 24 Jul 2016, 12:21 +0900, Nathan Ho notifications@github.com, wrote:

I don't want to change them to other shortcuts -- I just want to remove them completely since I don't need that functionality. All four of the settings files under Package Settings > SuperCollider are blank so I'm not sure what I specifically need to add to get rid of them.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub (#5 (comment)), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAECVGSMKOlE7FH-00UcSGVLudociojnks5qYtpTgaJpZM4JTfHb).

Both "Settings - Default" and "Key Bindings - Default" are blank, so I copied from GitHub. When I tried to save "Key Bindings - User", I received a "file not found" error because I was attempting to save in a nonexistent directory ~/.config/sublime-text-3/Packages/supercollider-sublime/. Even after creating that directory, saving, and restarting Sublime, I see no change in behavior.

I'm getting on a plane, so I suggest having a look at http://docs.sublimetext.info/en/latest/customization/key_bindings.html until I am back online in a week. Thanks for your patience

On 24 Jul 2016, 13:06 +0900, Nathan Ho notifications@github.com, wrote:

Both "Settings - Default" and "Key Bindings - Default" are blank, so I copied from GitHub. When I tried to save "Key Bindings - User", I received a "file not found" error because I was attempting to save in a nonexistent directory ~/.config/sublime-text-3/Packages/supercollider-sublime/. Even after creating that directory, saving, and restarting Sublime, I see no change in behavior.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub (#5 (comment)), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAECVMeoWpbW5901c5yy6vYM4xPTTlojks5qYuS8gaJpZM4JTfHb).

No worries. Have a safe trip!

I've just updated the package via package control, with all key bindings disabled for windows/linux.

it may take an hour or so to become available. You should get a message when you re-open sublime text and the package updates.

You can also unbind any key command like so (in your global key bindings file):

[ { "keys": ["ctrl+t"], "command": "unbound" } ]

The full list of key commands I had used is:

  • ["ctrl+s", "ctrl+s"]
  • ["ctrl+s", "ctrl+t", "ctrl+t"]
  • ["shift+enter"]
  • ["super+enter"]
  • ["super+shift+enter"]
  • ["ctrl+s", "ctrl+o"]
  • ["super+shift+c"]
  • ["super+b"]
  • ["ctrl+s", "ctrl+k", "ctrl+k"]
  • ["ctrl+s", "ctrl+b", "ctrl+b"]
  • ["super+ctrl+m"]
  • ["super+ctrl+="]
  • ["super+ctrl+-"]
  • ["super+ctrl+0"]
  • ["ctrl+s", "ctrl+r"]
  • ["ctrl+s", "ctrl+p"]
  • ["super+enter"]
  • ["super+."]
  • ["ctrl+s", "ctrl+l", "ctrl+l"]
  • ["ctrl+s", "ctrl+d"]
  • ["ctrl+s", "ctrl+c"]

Thanks heaps!

If you do end up binding keys, let me know what they are!
Some (like "super+." to stop all sounds) are indispensable !