Lorin Hochstein
Lorin Hochstein

Reputation: 59212

Unmap ctrl+space in Sublime Text 3

On OS X, I have ctrl+space mapped systemwide to "Help...Search". However, in Sublime Text 3, the default for ctrl+space is auto-complete. In Sublime Text 2, I was able to edit the default keymap and just delete it, but it seems like you can no longer edit the default keymap anymore.

Is there any way in Sublime Text 3 to "undefine" a keymap so that Sublime will allow the operating system wide shortcut to take effect instead?

Upvotes: 1

Views: 2253

Answers (2)

takanopontaro
takanopontaro

Reputation: 267

  1. Select menu. Sublime Text > Preferences > Key Bindings - Default
  2. Default (OSX).sublime-keymap (read-only) will open.
  3. Save as new file has same name to ~/Library/Application Support/Sublime Text 3/Packages/Default (not exist. create new folder).
  4. Close (2)
  5. Do (1) again.
  6. You can edit default keymap :)

Upvotes: 2

MattDMo
MattDMo

Reputation: 102862

Go to /Applications, left-click on Sublime Text.app, and select "Show Package Contents". Open Contents/MacOS/Packages/Default.sublime-package in TextWrangler (it's a free d/l if you don't have it) - it supports editing ZIP files. You should now be able to edit Default (OSX).sublime-keymap and save the whole package. Restart ST3 and you should be good!

Upvotes: 1

Related Questions