vim-es6

by isRuslan

isRuslan /vim-es6

List of JavaScript ES6 snippets and syntax highlighting for vim.

466 Stars 22 Forks Last release: almost 5 years ago (v2.1) 58 Commits 3 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Write JavaScript ES6 easily with vim.

Install

You need SnipMate or UltiSnips installed.

To install using 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:

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

| Trigger | Result | | -------: | ------- | |

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.