Pimping my vim or giving up on heavy IDEs
by actionjack on April 17, 2012 | One comment
I’ve given up on using heavy weight IDEs to write my puppet code, they are memory hungry, slow and make you forget how the command tools actually work.
So in that thread I pimped up my vim with some additional vim modules so I can hack around without the overhead.
curl -so ~/.vim/autoload/pathogen.vim \
https://raw.github.com/tpope/vim-pathogen/HEAD/autoload/pathogen.vim
cd ~/.vim/bundle
git clone git://github.com/tpope/vim-fugitive.git fugitive
git clone https://github.com/rodjek/vim-puppet.git puppet
vi ~/.vimrc
Contents of my ~/.vimrc:
set shiftwidth=4
set expandtab
call pathogen#infect()
syntax on
filetype plugin indent on
Relevant links:
https://github.com/rodjek/vim-puppet
https://github.com/tpope/vim-pathogen
Update:
Thanks for Lowe Schmidt for recommending 2 additional plugins that are exceptionally sweet!
https://github.com/scrooloose/syntastic
https://github.com/godlygeek/tabular
One comment
May I also suggest tabular and syntastic for vim, auto aligning of => and syntax checking built in 🙂
by Lowe on April 17, 2012 at 1:03 pm. #