Make Vim as Your Bash-IDE Using bash-support Plugin

jackie_gnu發表於2011-07-28

 Make Vim as Your Bash-IDE Using bash-support Plugin

Adding file header Adding function/frame comment Including default code snippet Performing syntax check Reading documentation about a function Converting a code block to comment, and vice versa

Download the plugin from vim.org website.

Step 1: Download the bash-support plugin

wget -O bash-support.zip http://www.vim.org/scripts/download_script.php?src_id=9890

 Step 2: Install the bash-support Vim Plugin

$ mkdir ~/.vim # if the directory does not exist already

$ cd ~/.vim

$ unzip /usr/src/bash-support.zip

Step 3: Enable the plugin in the ~/.vimrc

Add the following line to the ~/.vimrc to enable the plugin for Vim editor.

 

相關文章