"By itself, Vim is one of the best editors for shell scripting.
With a little tweaking, however, you can turn Vim into a
full-fledged IDE for writing scripts. You could do it yourself, or
you can just install Fritz Mehner's Bash Support plugin.
"To install Bash Support, download the zip archive, copy it to
your ~/.vim directory, and unzip the archive..."