Skip to content

Instantly share code, notes, and snippets.

@igemnace
Last active June 16, 2017 14:32
Show Gist options
  • Save igemnace/81b17db53341571f473d2b1e6490b3e7 to your computer and use it in GitHub Desktop.
Save igemnace/81b17db53341571f473d2b1e6490b3e7 to your computer and use it in GitHub Desktop.
Example template with vim-template-lite and abolish.vim.
augroup TemplatesVim
autocmd!
" trigger vim-abolish on template load
autocmd User TemplateLoad silent! execute "%S/skeleton-name/" . expand('%:t:r:r') . "/g"
augroup END
'use strict';
import React, { PropTypes, Component } from 'react';
import { View } from 'react-native';
import { styles } from './skeleton-name.styles.js';
export default class SkeletonName extends Component {
constructor(props) {
super(props);
}
static propTypes = {}
render() {
return (
<View>
</View>
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment