itamae-snippets


Ⅰ. 插件描述

Vim snippets for Itamae

Ⅱ. 基本信息

创建日期:  2015-01-22
使用用户:  4
Github星:  8
插件作者:  Okumura Takahiro

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'tacahilo/itamae-snippets'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'tacahilo/itamae-snippets'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'tacahilo/itamae-snippets'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/tacahilo/itamae-snippets

Ⅳ. 文档说明

# itamae-snippets

This is vim snippets for Itamae inspired by serverspec-snippets.

Requirement

Install

Vundle

  1. Setup the vundle package manager
  2. Set the bundles for itamae-snippets
Bundle 'tacahilo/itamae-snippets'
  1. Open up Vim and start installation with :BundleInstall

Neobundle

  1. Setup the neobundle package manager
  2. Set the bundles for itamae-snippets
NeoBundle 'tacahilo/itamae-snippets'
  1. Open up Vim and start installation with :NeoBundleInstall

Setup

Set itamae-snippets directory(~/.vim/bundle/itamae-snippets) in your .vimrc.

" setting example
let g:neosnippet#snippets_directory = [
      \'~/.vim/snippets',
      \'~/.vim/bundle/itamae-snippets',
      \]

Usage

open Itamae files and set filetype ruby.itamae

:set ft=ruby.itamae

License

Lcense: Same terms as Vim itself (see license)

添加新评论