Git Product home page Git Product logo

zencoding-vim's Introduction

ZenCoding-vim

zencoding-vim is a vim plug-in which provides support for expanding abbreviations similar to zen-coding.

Installation

Download zip file:

cd ~/.vim
unzip zencoding-vim.zip

To install using pathogen.vim:

cd ~/.vim/bundle
unzip /path/to/zencoding-vim.zip

To checkout the source from repository:

cd ~/.vim/bundle
git clone http://github.com/mattn/zencoding-vim.git

or:

git clone http://github.com/mattn/zencoding-vim.git
cd zencoding-vim
cp plugin/zencoding.vim ~/.vim/plugin/
cp autoload/zencoding.vim ~/.vim/autoload/
cp -a autoload/zencoding ~/.vim/autoload/

Quick Tutorial

Open or create a New File:

vim index.html

Type ("_" is the cursor position):

html:5_

Then type "<c-y>," (Ctrl + y + ','), you should see:

<!DOCTYPE HTML>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title></title>
</head>
<body>
	_
</body>
</html>

More Tutorials

Enable in different mode

If you don't want to enable zencoding in all modes, you can use set these options in vimrc:

let g:user_zen_mode='n'    "only enable normal mode functions.
let g:user_zen_mode='inv'  "enable all functions, which is equal to
let g:user_zen_mode='a'    "enable all function in all mode.

Project Authors

Yasuhiro Matsumoto

Links

zen-coding official site:

zencoding.vim:

development repository:

my blog posts about zencoding-vim:

Japanese blog posts about zencoding-vim:

A Chinese translation of the tutorial:

zencoding-vim's People

Contributors

avinash avatar chazmcgarvey avatar crazymaster avatar doy avatar dpino avatar jk3us avatar mattn avatar mgrubb avatar mrtazz avatar ogra avatar ohac avatar poltergeist avatar rabidtester avatar serverhorror avatar shlomif avatar snowmantw avatar songz avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.