All Projects → tobyS → Pdv

tobyS / Pdv

PHP Documentor for VIM - Generates PHP docblocks

Labels

Projects that are alternatives of or similar to Pdv

Vimkata
Deliberate Practice lessons for learning the Vim Editor
Stars: ✭ 135 (-14.56%)
Mutual labels:  viml
Tlib vim
Some utility functions for VIM
Stars: ✭ 147 (-6.96%)
Mutual labels:  viml
Vim Tmuxify
Vim plugin for handling tmux panes.
Stars: ✭ 152 (-3.8%)
Mutual labels:  viml
Doxygentoolkit.vim
Simplify Doxygen documentation in C, C++, Python.
Stars: ✭ 138 (-12.66%)
Mutual labels:  viml
C.vim
C/C++ IDE -- Write and run programs. Insert statements, idioms, comments etc.
Stars: ✭ 142 (-10.13%)
Mutual labels:  viml
Mru.vim
Plugin to manage Most Recently Used (MRU) files
Stars: ✭ 149 (-5.7%)
Mutual labels:  viml
Eddie Vim2
Yet another vimrc
Stars: ✭ 135 (-14.56%)
Mutual labels:  viml
Vim Operator Flashy
🔦 Highlight yanked area
Stars: ✭ 156 (-1.27%)
Mutual labels:  viml
Matchit.zip
extended % matching for HTML, LaTeX, and many other languages
Stars: ✭ 146 (-7.59%)
Mutual labels:  viml
Dotvim
A community driven framework for vim
Stars: ✭ 151 (-4.43%)
Mutual labels:  viml
Inkpot
Inkpot 88/256 Colour Scheme for Vim
Stars: ✭ 138 (-12.66%)
Mutual labels:  viml
Minivimrc
a tiny vimrc to be used primarily for troubleshooting plugins
Stars: ✭ 140 (-11.39%)
Mutual labels:  viml
Vim Jekyll
📝 Fork of psykidellic/vim-jekyll because actually forking it freaks out
Stars: ✭ 151 (-4.43%)
Mutual labels:  viml
Vim Addon Local Vimrc
kiss local vimrc with hash protection
Stars: ✭ 136 (-13.92%)
Mutual labels:  viml
Vim Flavored Markdown
Stars: ✭ 153 (-3.16%)
Mutual labels:  viml
Haskellmode Vim
An unpacked copy of the haskellmode vimball. Ping me if it needs updating.
Stars: ✭ 135 (-14.56%)
Mutual labels:  viml
Vim Js Context Coloring
JavaScript Context Coloring in Vim
Stars: ✭ 149 (-5.7%)
Mutual labels:  viml
Vim Galore
🎓 All things Vim!
Stars: ✭ 12,610 (+7881.01%)
Mutual labels:  viml
Vim Project
lcd to the root of the project everytime you BufEnter a file inside a project.
Stars: ✭ 155 (-1.9%)
Mutual labels:  viml
Vimside
Vim Scala IDE (VimSIde) built upon ENSIME
Stars: ✭ 151 (-4.43%)
Mutual labels:  viml

================================ PDV - PHP Documentor for VIM - 2

This is version 2 of PDV - PHP Documentor for VIM, your tool of choice for generating PHP doc blocks. It is a complete rewrite of version 1, which contained code written back in 2005 and earlier. As a result, the code is now way more maintainable and you gain exciting new features:

  • Templating support through Vmustache__
  • Integration with UltiSnips__ to complete your docs directly after generation

__ https://github.com/tobyS/vmustache __ https://github.com/SirVer/ultisnips

Try it out now.


Requirements

Vmustache__ is a required plugin for PDV to work

__ https://github.com/tobyS/vmustache


Install

You should install PDV through a VIM plugin manager of your choice. I recommend Vundle__ for that purpose, but others should work, too. With Vundle you need

__ https://github.com/gmarik/vundle

::

Bundle 'tobyS/pdv'

in your .vimrc and then run :BundleInstall in a new VIM instance.

Before using PDV you must set the variable pdv_template_dir which points to your templates. After that, you should map one of the following functions to a key of your choice:

pdv#DocumentCurrentLine() Generates the doc block as you know it from PDV 1, but using the templates from your template directory. pdv#DocumentWithSnip() This function requires UltiSnips__ as a prerequisite. If you have that installed, your templates will be used as snippets and you will be put into the first tab right after the doc block was generated.

__ https://github.com/SirVer/ultisnips

My config for PDV looks like this::

let g:pdv_template_dir = $HOME ."/.vim/bundle/pdv/templates_snip"
nnoremap <buffer> <C-p> :call pdv#DocumentWithSnip()<CR>

There are examples for templates (both a non-snip and a snip version) shipped with PDV.

.. Local Variables: mode: rst fill-column: 79 End: vim: et syn=rst tw=79

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].