sponsor Vim development Vim logo Vim Book Ad

sh.vim : Indent script for sh/bash

 script karma  Rating 26/16, Downloaded by 3454  Comments, bugs, improvements  Vim wiki

created by
Edward Fox
 
script type
indent
 
description
This is a minor bug-fix version of the official sh indent script, in order to support the "case" statement.

The default indent style is to put the case labels in the same indent level of the case statement. If you want to increase the indent level of the case labels, just add this line in your .vimrc:

let g:sh_indent_case_labels=1
 
install details
Download the file and put it into your indent plugin path.
 

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
sh.vim 1.0 2006-08-10 6.0 Edward Fox Initial upload
ip used for rating: 18.225.209.95

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