#StackBounty: #vim #keyboard-shortcuts #emmet Why is mapping <c-e> to expand emmet-vim abbreviation not working?

Bounty: 100

I have the following in my _vimrc and _gvimrc (I’m using Windows 10):

set tabstop=4
set sts=4
set expandtab
set softtabstop=4
set shiftwidth=4
set number    
let g:emmet_html5 = 1
let g:user_emmet_expandabbr_key = '<c-e>'

When I edit an HTML file with Vim, I want to be able to expand an abbreviation with Ctrle.

But, when I hit Ctrle, it doesn’t expand. When I hit Ctrly, (the default mapping), it does expand.

Why is let g:user_emmet_expandabbr_key = '<c-e>' not taking effect?

No mapping found for map <c-e>.
enter image description here

I am sure that mapping was written into _vimrc and _gvimrc.

Display all scriptname:
enter image description here

My installation:

  • Download gvim8.2.exe from gvim.exe and double click to install on d: partition.
  • Download emmet-vim-master from emmet-vim-master and extract all files in it.
    • copy all files and directory in emmet-vim-master/autoload/ into d:Vimvim8.2autoload.
    • copy file in emmet-vim-master/plugin/ into d:Vimvim8.2plugin.

Then rewrite the _vimrc file.


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.