sponsor Vim development Vim logo Vim Book Ad

Indent Finder : Always set the correct indentation for the file you are editing.

 script karma  Rating 76/26, Downloaded by 4667  Comments, bugs, improvements  Vim wiki

created by
Philippe Fremy
 
script type
indent
 
description
For each new open buffer, scans the buffer, find the indentation being used in the file and configure vim to this indentation.

This solves the problem of files with different indentations.

Homepage of the project:
http://www.freehackers.org/Indent_Finder
 
install details
Install the python script with python setup.py install and install the vim plugin (:help plugins in vim for more information on how to install 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
indent_finder-1.31.zip 1.31 2008-09-07 7.0 Philippe Fremy Important bug fix: the vim plugin was not working.
indent_finder-1.3b.zip 1.3b 2008-07-22 5.7 Philippe Fremy Small problem in packaging that prevented the script to work.
indent_finder-1.3.zip 1.3 2008-07-20 5.7 Philippe Fremy Improved algorithm, that can also detect mixed indentation (like the one used in vim source code).
indent_finder.vim 1.01 2003-06-19 6.0 Philippe Fremy Act on all files, not only on files with extensions.
indent-finder-1.0.tgz 1.0 2002-12-17 6.0 Philippe Fremy Initial upload
ip used for rating: 3.239.214.173

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