emmet-sublime | Emmet for Sublime Text | Code Editor library
kandi X-RAY | emmet-sublime Summary
kandi X-RAY | emmet-sublime Summary
Emmet for Sublime Text
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Consumes CSS property value
- Parse abbreviation
- Pastes gradient definitions
- balance in text selection
- Match children with abbreviation syntax
- Parse class name .
- Creates possible selection ranges for given HTML tag
- Creates a matcher instance
- Normalize a hex color value .
- Parse attributes .
emmet-sublime Key Features
emmet-sublime Examples and Code Snippets
Community Discussions
Trending Discussions on emmet-sublime
QUESTION
I want to use Emmet-sublime in Sublime Text 3, but I find it annoying that it breaks many of the existing shortcuts. Really, all I want is to be able to manually press CTRL + e and have the expansion work.
I know there is the disabled_keymap_actions
setting, but this is a blacklist. I'd have to go find all the keymap actions, which is a pain. I'd rather have a whitelist, where I could only allow the expand_abbreviation
command.
What's the best way of only allowing only CTRL + e and not other emmet shortcuts?
If the only way is to specify a list via disabled_keymap_actions
, what is the list I need to use?
Update
I found a list at https://github.com/sergeche/emmet-sublime/blob/master/misc/generate-keymap.py. But I'm looking more for an enabled_keymap_actions
setting.
ANSWER
Answered 2017-Jun-12 at 11:00Emmet has an option to disable all keys at once, just set the setting to "disabled_keymap_actions": "all"
. Afterwards you can add your whitelist by copying the corresponding keybindings and remove the emmet context (which blacklists them) and add your selectors instead. You can use { "key": "selector", "operand": "text.html" }
to limit the keybinding to html code.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install emmet-sublime
Run “Package Control: Install Package” command, find and install Emmet plugin.
Restart ST editor (if required)
Clone or download git repo into your packages folder (in ST, find Browse Packages... menu item to open this folder)
Restart ST editor (if required)
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page