Sublime Forum

Can't override emmet key binding

#1

I’ve been searching and searching and have found information on how to do this but can’t seem to follow it and get the desired result.

Emmet binds a run_emmet_action of reflect_css_value to the same key chord as sublime’s goto_symbol_in_project.
Instructions say to put

Use a comma-separated list of action names which default keyboard shortcuts should be disabled. For example, if you want to release Ctrl+E (“Expand Abbreviation”) and Ctrl+U (“Update Image Size”) shortcuts, your must set the following value:

“disabled_keymap_actions”: “expand_abbreviation, update_image_size”
You should refer Default (Your-OS-Name).sublime-keymap file to get action ids (look for args/action key).

but I can’t seem to figure out where to put this and have the default/sublime goto_symbol_in_project chord work again.
Would somebody in the know please let me know what file I need to add:

“disabled_keymap_actions”: “reflect_css_value”

to? I’m on a Mac and have spent hours trying to track this down/get it right. I’m not sure why I can’t seem to follow the available directions.

0 Likes

#2

As I said in a previous post:

Sublime text’s awesome, you’re not allowed to waste it :smile:

Here’s a few courses:

Follow the one that suits you, you won’t regret it.

For your problem:

It’s in your settings user file.

  1. ctrl+shift+p
  2. type prefsettn to select Preferences: Settings
  3. enter
  4. in the right file, add this "disabled_keymap_actions": "reflect_css_value" between the {}

Save and close.

0 Likes