Code Monkey home page Code Monkey logo

vim-es6's Introduction

This is a mirror of http://www.vim.org/scripts/script.php?script_id=5230

vim es6

> Write JavaScript ES6 easily with vim.

Screenshot: https://raw.githubusercontent.com/isRuslan/vim-es6/master/sample.gif

Install:

> You need SnipMate installed: https://github.com/garbas/vim-snipmate.

    To install using Vundle https://github.com/gmarik/vundle:

	" add this line to your .vimrc file
	Plugin 'isRuslan/vim-es6'

    To install using pathogen.vim:

	cd ~/.vim/bundle
	git clone https://github.com/isRuslan/vim-es6.git

    To manual install download  zip file https://github.com/isRuslan/vim-es6/releases:

	cd ~/.vim
	unzip vim-es6.zip


    To checkout the source from repository:

	cd ~/.vim/bundle
	git clone https://github.com/isRuslan/vim-es6.git

Snippets list:

| gfn→     | `function* name (arg) { yield arg; }` |
| =>→      | `(arg) => { ... },`                               |
| class→  | `class name { constructor () { ...} }` |
| forof→   | `for (let value of arr) { ... }`              |
| im→      | `import lib from 'Library'`                 |

vim-es6's People

Contributors

isruslan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.