Puppet vim setup

The Goal

Setup vim to edit Puppet Manifests using a few good tools that will get you to pass Puppet Lint tests.

Vim-Pathogen

Vim-Pathogen on github

sandor@theargo mkdir -p ~/.vim/autoload ~/.vim/bundle
sandor@theargo cd ~/.vim/autoload
sandor@theargo curl -o pathogen.vim https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim

Add these settings to .vimrc

execute pathogen#infect()
syntax on
filetype plugin indent on

Vim-Puppet

Vim-Puppet on github

sandor@theargo cd ~/.vim/bundle
sandor@theargo git clone git://github.com/rodjek/vim-puppet.git

Tabular

Tabular on github

sandor@theargo cd ~/.vim/bundle
sandor@theargo git clone git://github.com/godlygeek/tabular.git

Syntastic

Syntastic on github

sandor@theargo cd ~/.vim/bundle
sandor@theargo git clone https://github.com/scrooloose/syntastic.git