sponsor Vim development Vim logo Vim Book Ad

prettyprint.vim : Prettyprint vim variables.

 script karma  Rating 29/11, Downloaded by 618    Comments, bugs, improvements  Vim wiki

created by
script type
*prettyprint* is a Vim plugin to prettyprint vim variable for debug.

When g:prettyprint_width = 78, you run the following command,
    :PP {'triangular':[3,6,9,12,15],'squares':[1,4,16,25,36],'pentagonal':[1,5,12,22,35]}

You get the following display as a result.
      'pentagonal': [1, 5, 12, 22, 35],
      'squares': [1, 4, 16, 25, 36],
      'triangular': [3, 6, 9, 12, 15]

Example of usage: You try the following command to view the all global variables.

    :PP g:

Latest Version:
install details

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-prettyprint-0.3.2.zip 0.3.2 2011-12-22 7.2 thinca - Added g:prettyprint_string option.
- Improved Funcref support.
vim-prettyprint-0.3.1.zip 0.3.1 2010-09-06 7.2 thinca - Added the buffer local version of options.
  - b:prettyprint_indent
  - b:prettyprint_width
- :PrettyPrint accepts "!" for saving the output.
vim-prettyprint-0.3.0.zip 0.3.0 2009-11-20 7.2 thinca Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo