sponsor Vim development Vim logo Vim Book Ad

Modelines Bundle : Insert Modelines from current settings

 script karma  Rating 46/13, Downloaded by 885    Comments, bugs, improvements  Vim wiki

created by
Martin Krischik
 
script type
utility
 
description
Inserts two modelines with the currently active filetype and tabulator settings.

Can be used for:

- a quick overview of the file settings (like is the file dos or unix format).
- to set the file setting (just change the settings which are wrong).
- to make shure the file settings stay put when the file is saved and loaded.

Can be easily exdended for more settings - just as you want it.

Reports errors to: http://code.google.com/p/vim-scripts/issues/list
Discuss improvements on: http://groups.google.com/group/vim_scripts
For Support see: http://code.google.com/p/vim-scripts/wiki/ModelinesBundle
 
install details
Just install using vimball (vimscript#1502)
 

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
modelines-2.0.vba 2.0 2007-09-17 7.0 Martin Krischik Now as a bundle. The new version will use autoload to conserve memory and start-up time.

New features: Uses NERD_Commenter when available, fallback to &commentstring when not.
modelines.vim 1.4 2006-11-18 7.0 Martin Krischik When integrating the Ada Mode into the standart runtime Bram enlightent me on which modeline settings are usefull and which are not. The result is this fixed version.

It also uses not the "vim: set ... :" syntax so it will work fine with languages using something like "/* */".
modelines.vim 1.1 2006-02-23 6.0 Martin Krischik This version does not need the NERD Commenter any more. It used the &commentstring instead.
modelines.vim 1.0 2005-09-13 6.0 Martin Krischik Initial upload
ip used for rating: 23.20.34.25

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