Vim plugin file - you can download it into
your .vim/plugin
directory:
mkdir -p $HOME/.vim/plugin
wget -O $HOME/.vim/plugin/puppet_helpers.vim \
https://raw.githubusercontent.com/adidenko/dotfiles/master/.vim/plugin/puppet_helpers.vim
-
Parameters description In
VISUAL
mode select class parameters, pressCTRL+P
. Then inINSERT
mode you can paste parameters description template by pressingCTRL+r
and thenp
(or"pp
in normal mode). -
Parameters validation In
VISUAL
mode select class parameters (you can include class name in selection if you want to use Qualified Variable Names), pressCTRL+O
. Then inINSERT
mode you can paste parameters validation functions pressingCTRL+r
and theno
(or"op
in normal mode).