sponsor Vim development Vim logo Vim Book Ad

vim-es6 : List of JavaScript ES6 snippets and syntax highlighting for vim.

 script karma  Rating 36/11, Downloaded by 1506  Comments, bugs, improvements  Vim wiki

created by
Ruslan Ismagilov
 
script type
syntax
 
description
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'`                 |
 
install details
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-es6-2.1.zip 2.1 2015-10-25 7.0 Ruslan Ismagilov New improvements to snippets code and to syntax highlighting.
vim-es6-2.0.zip 2.0 2015-08-13 7.0 Ruslan Ismagilov Initial upload
ip used for rating: 3.233.242.204

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
OSDN