Bash Support
Links
http://www.vim.org/scripts/script.php?script_id=365 bash-support.vim
BASH-IDE: Write and run BASH-scripts using menus and hotkeys.
Download
Download bash-support.zip from the bash-support.vim page.
Install
Extract the zip archive, bash-support.zip, into $HOME/.vim/:
cd ~/.vim/
unzip bash-support.zip
Note: I had to create the folder (mkdir ~/.vim/).
Setup
Edit your ~/.vimrc file to include a few personal details:
vim ~/.vimrc
let g:BASH_AuthorName = 'Patrick Kimber'
let g:BASH_Email = 'name@email.com'
let g:BASH_Company = 'Sample Company'
Statements
|
if, then, else |
|
while, do, done |
Run
|
save file, run script |
|
save file, check syntax |
Comments
\\chcreate a file header
\\cfufunction header
Note: If you create a new script with an
.shextension, the plugin will automatically create a file header for you.