sponsor Vim development Vim logo Vim Book Ad

matchindent.vim : Match indentation style

 script karma  Rating 1/1, Downloaded by 157    Comments, bugs, improvements  Vim wiki

created by
Conor McDermottroe
 
script type
utility
 
description
Some people like tabs, some like spaces. Very few people like it when you edit their stuff and use a different method of indentation.

This plugin scans through a file when it's opened and attempts to guess which style of indentation is being used. It then overrides your preferences so that you match the style of the file.

Currently it only detects the three most common styles of indentation, tabs, 2 spaces and 4 spaces. Patches to make this plugin more general are welcomed.

The most up to date version of this script is available at https://github.com/conormcd/matchindent.vim
 
install details
Drop the included matchindent.vim into your .vim/plugin directory or use Pathogen.
 

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
matchindent.vim-0.0.1.tgz 0.0.1 2012-05-14 7.0 Conor McDermottroe Initial upload
ip used for rating: 54.197.20.130

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