Giter VIP home page Giter VIP logo

opentemplate.vim's Introduction

OpenTemplate.vim

##何をするプラグインか プログラミング言語ごとの自作テンプレートを展開するプラグインです。

##使い方

:OpenTemplate

とすれば拡張子からテンプレートを展開してくれる。 テンプレートはOpenTemplate/autoload/TemplateFileに template.+拡張子 という名前で保存すれば使える. とりあえずC++,Texだけ置いておいた。他の言語で必要になりしだい追加するかもしれない。

##使い方(追記) 最新版に置いてテンプレートファイルを置いておくディレクトリを指定できるようにした。 まず、最新版にする(NeoBundleを使用しているなら:NeoBundleUpdateなどで).

テンプレートファイルを置いておくディレクトリを指定する方法.例えば
$HOME/Template/template.cpp
$HOME/Template/template.c
のように配置するなら.vimrc(neovimの場合はinit.vim)に

let g:OpenTemplate#Template_dir = '~/Template'

のように記せばよい

##インストール方法

NeoBundle 'chakku000/OpenTemplate.vim'

opentemplate.vim's People

Contributors

chakku000 avatar

Stargazers

koturn avatar  avatar

Watchers

James Cloos avatar

Forkers

koturn

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.