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
\\ch
create a file header
\\cfu
function header
Note: If you create a new script with an
.sh
extension, the plugin will automatically create a file header for you.