mv-vim-puppet


Ⅰ. 插件描述

Ⅱ. 基本信息

创建日期:  2011-07-21
使用用户:  4
Github星:  3
插件作者:  Marcus Vinicius Ferreira

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

vim-puppet

Make vim more Puppet friendly!

A simple github repository to be used with pathogen or vundle.

Basend on 'uggedal/puppet-vim' and 'rodjek/vim-puppet' github repositories.

Provides

  • Formatting based on the latest Puppetlabs Style Guide
  • Syntax highlighting
  • Automatic => alignment (when the
    tabular plugin is also installed)
  • Snippets for builtin types and functions (when the
    snipmate plugin is also
    installed)
  • Doesn't require a bloated JRE
  • Doesn't take minutes to open

For bonus points, install the
syntastic plugin for automatic
syntax checking while in vim.

Installation

Pathogen

If you're using pathogen you can simply add this as a submodule in your ~/.vim/bundle/ directory.

$ git submodule add -f https://mv@github.com/mv/mv-vim-puppet.git .vim/bundle/mv-vim-puppet

Vundle

Put in your ~/.vimrc:

Bundle 'mv/mv-vim-puppet'

Or execute inside vim:

:BundleInstall 'mv/mv-vim-puppet'

Manually

If you're not using any vim plugin manager, you can just manually place the files in the appropriate places under ~/.vim/

添加新评论