diff --git a/README.mkd b/README.mkd index de72b53..b0079e4 100644 --- a/README.mkd +++ b/README.mkd @@ -47,7 +47,7 @@ Type ("\_" is the cursor position): html:5_ -Then type "\," ('Ctrl + y', then ','), you should see: +Then type `,` (Ctrly,), and you should see: ```html @@ -84,10 +84,14 @@ autocmd FileType html,css EmmetInstall ``` ## Redefine trigger key +To remap the default `` leader: ```vim let g:user_emmet_leader_key='' ``` + +Note that the trailing `,` still needs to be entered, so the new keymap would be `,`. + ## Adding custom snippets If you have installed the [web-api](https://github.com/mattn/webapi-vim) for **emmet-vim** you can also add your own snippets using a custom **snippets.json** file. diff --git a/doc/emmet.txt b/doc/emmet.txt index 10023b6..d399796 100644 --- a/doc/emmet.txt +++ b/doc/emmet.txt @@ -334,7 +334,10 @@ CUSTOMIZE *emmet-customize* > let g:user_emmet_leader_key = '' < - Or if you prefer to map for each actions, then you set each variables. + Note that a trailing ',' must be entered, so the resultant keymap is + ','. + + If you prefer to map for each actions, then you set each variables. 'user_emmet_expandabbr_key' 'user_emmet_expandword_key'