sponsor Vim development Vim logo Vim Book Ad

Fold License : A vim plugin to hide the annoyng license at the top of each file

 script karma  Rating -1/5, Downloaded by 1106  Comments, bugs, improvements  Vim wiki

created by
Felipe Tanus
script type
This script look for some keywords on licenses, identify a license block in the start of a file, and folds it.

The license can be commented in the following styles:
C single line
C multi line
bash single line

it should be fair easy to add other comment styles.

fork it at https://github.com/fotanus/fold_license

install details
drop it in .vim/plugins

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
fold_license.vim 0.2 2013-02-12 6.0 Felipe Tanus Fixed bug for files that have only one big comment block
fold_license.vim 0.1 2013-02-01 6.0 Felipe Tanus 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.