Open abz123 opened 5 years ago
Probably, you don't enable emmet on html or css.
I use it in html, js/vue and css everyday inside vim in tmux panes. All seems to work except the comments.
I can make sure comments working.
Please confirm steps to make comments work. My setup: ubuntu, vim 8, tmux, emmet.
Added the following into .vimrc
Made no difference:
let g:user_emmet_leader_key = '
Removed from .vimrc
Tried again, made no difference:
let g:user_emmet_leader_key = '
sorry previous did not paste in fully:
let g:user_emmet_leader_key = '
not able to post the complete line for comment toggle.
Toggle Comment not working in Visual Line mode too.
i have that problem too
I use c>{"comment"} in neovim
Just to clarify what @abhi29jan said, enter c>
then the emment command <c-y>,
, then you should be good! Thanks @abhi29jan !!!
1.) Cursor placement <style> body { background: #d1d3d4; font-family: 'Bitter', serif; }
Type: C-y / Result: </^_style> body { background: #d1d3d4; font-family: 'Bitter', serif; }
2.) Cursor placement body { background: #d1d3d4; font-family: 'Bitter', serif; }
Type: C-y / Result: by^_ody { background: #d1d3d4; font-family: 'Bitter', serif; }