Skip to content

bentayloruk/vim-react-es6-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Note: I've ported /snippets to es6 class usage. I've not touched /UtiliSnips.

vim-react-es6-snippets

A set of snippets for Vim to work with Facebook's React library.

A direct port of the awesome snippets from justinj/vim-react-snippets.

Requires vim-snipmate.

Installation

Use your preferred Vim plugin installation method. Vundle or Pathogen should be fine (I use Pathogen).

Usage

Within any Javascript or JSX file, you should be able to do the following:

(in insert mode)

gdp<Tab>

expanding to

getDefaultProps() {
    return {

    };
},

And a bunch of others! Check snippets/javascript.snippets to see the full list.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published