sponsor Vim development Vim logo Vim Book Ad

cascading.vim : Cascading indenter

 script karma  Rating 0/0, Downloaded by 833  Comments, bugs, improvements  Vim wiki

created by
Yo-An Lin
 
script type
utility
 
description
A simple cascading indenter.


Cascading auto-break:

$var->foo->bar->short()->very_long_long_long( )->very_long_long_long_long( )

Press -- to convert line into

$var->foo->bar
    ->short()
    ->very_long_long_long( )
    ->very_long_long_long_long( )


Supported File Types

php
perl
ruby
 
install details
copy into your ~/.vim/plugin/
 

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
cascading.vim-0.1.vba 1.0 2011-04-07 7.0 Yo-An Lin Initial upload
ip used for rating: 3.14.250.117

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.
   
Vim at Github