meiguixiaolu / emmet.vim Goto Github PK
View Code? Open in Web Editor NEWThis project forked from vim-scripts/emmet.vim
vim plugins for HTML and CSS hi-speed coding.
Home Page: http://www.vim.org/scripts/script.php?script_id=2981
This project forked from vim-scripts/emmet.vim
vim plugins for HTML and CSS hi-speed coding.
Home Page: http://www.vim.org/scripts/script.php?script_id=2981
This is a mirror of http://www.vim.org/scripts/script.php?script_id=2981 This is vim script support expanding abbreviation like emmet. ref: http://emmet.io/ There is a movie using emmet.vim ref: http://mattn.github.com/emmet-vim Source Repository. ref: http://github.com/mattn/emmet-vim Type abbreviation +------------------------------------- | html:5_ +------------------------------------- "_" is a cursor position. and type "<c-y>," (Ctrl + y and Comma) NOTE: Don't worry about key map. you can change it easily. +------------------------------------- | <!DOCTYPE HTML> | <html lang="en"> | <head> | <title></title> | <meta charset="UTF-8"> | </head> | <body> | _ | </body> | </html> +------------------------------------- Type following +------------------------------------- | div#foo$*2>div.bar +------------------------------------- And type "<c-y>," +------------------------------------- |<div id="foo1"> | <div class="bar">_</div> |</div> |<div id="foo2"> | <div class="bar"></div> |</div> | _ +------------------------------------- Tutorial: http://github.com/mattn/emmet-vim/raw/master/TUTORIAL How work this: http://mattn.github.com/emmet-vim Tips: You can customize behavior of expanding with overriding config. This configuration will be merged at loading plugin. let g:user_emmet_settings = { \ 'indentation' : ' ', \ 'perl' : { \ 'aliases' : { \ 'req' : 'require ' \ }, \ 'snippets' : { \ 'use' : "use strict\nuse warnings\n\n", \ 'warn' : "warn \"|\";", \ } \ } \} let g:user_emmet_expandabbr_key = '<c-e>' let g:use_emmet_complete_tag = 1 You can set language attribute in html using emmet_settings['lang'].
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.