How to install emmet plugin for neovim front-end coding
Jing, mqjing@gmail.com
Google doc: This Document
說實在的, 從以前就很討厭 html 的語法. 寫一個 hello, 就是一堆 tag ...., 一些前輩早就使用 emmet 處理這種麻煩事了. 現在教你如何把它裝在 neovim 裡面.
Install the Plugin
Step 1: Add the plugin
~/.config/nvim/init.vim
call plug#begin('~/.vim/plugged')
Plug 'mattn/emmet-vim'
call plug#end()
|
Step 2: Install the package
Command
: PlugInstall
Usage
Step 1: vim test.htm
Step 2: 輸入 html:5
E.g.
Step 3: 然後馬上按下 [Ctrl + Y] [,], 然後就變成