Use vim at its best to edit your Puppet manifests

Posted by linuxaria on Dec 9, 2013 12:17 PM EDT
linuxaria.com; By Linuxaria
Mail this story
Print this story

his is my vim configuration to work with Git + Puppet manifests, mostly it’s based on some good articles about this that I found online:

Using vim and Debian to do puppet development Puppet editing like a pro Using Vim to edit Puppet code Using this repository you’ll enable the following plugins:

pathogen Makes it super easy to install plugins and runtime files in their own private directories. snipmate.vim snipMate.vim aims to be an unobtrusive, concise vim script that implements some of TextMate’s snippets features in Vim. syntastic Syntastic is a syntax checking plugin that runs files through external syntax checkers and displays any resulting errors to the user. This can be done on demand, or automatically as files are saved. If syntax errors are detected, the user is notified and is happy because they didn’t have to compile their code or execute their script to find them. tabular Sometimes, it’s useful to line up text. Naturally, it’s nicer to have the computer do this for you, since aligning things by hand quickly becomes unpleasant. vim-puppet Make vim more Puppet friendly! vim-fugitive Provides an amazingly deep Git integration for vim.

Full Story

  Nav
» Read more about: Story Type: Tutorial

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.