You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
g:emmet_install_only_plug is a wonderful feature! It would be great to have it documented in both doc/emmet.txt and README.md (I only found the option by searching through the source code).
If you'd prefer to have help with this, I'm up for submitting a PR.
Here's some more detail for anyone running across this issue who might not be familiar with the option:
The following will cause emmet.vim to create <plug>(...) mappings, but not<c-y>... mappings:
letg:emmet_install_only_plug=1
This allows you to define your own mappings without requiring all potential mappings to be created. I've found this to be handy when I want to:
Create mappings for only some of Emmet's functionality, and
prevent the remaining default <c-y>... mappings from being created automatically, in order to
avoid a delay when using vim's built-in ctrl-y and i_ctrl-y bindings (vim otherwise has to wait, to make sure you're not about to enter the second part of a longer mapping).
g:emmet_install_only_plug
is a wonderful feature! It would be great to have it documented in bothdoc/emmet.txt
andREADME.md
(I only found the option by searching through the source code).If you'd prefer to have help with this, I'm up for submitting a PR.
Here's some more detail for anyone running across this issue who might not be familiar with the option:
The following will cause emmet.vim to create
<plug>(...)
mappings, but not<c-y>...
mappings:This allows you to define your own mappings without requiring all potential mappings to be created. I've found this to be handy when I want to:
<c-y>...
mappings from being created automatically, in order toctrl-y
andi_ctrl-y
bindings (vim otherwise has to wait, to make sure you're not about to enter the second part of a longer mapping).A simple example:
The text was updated successfully, but these errors were encountered: