title: vim-配置
date: 2016-05-18 17:12:52
tags: kali系统配置
vim插件
- bash-support插件
只需三步:
1.Download the plugin from vim.org website.
$ cd /usr/src
$ wget -O bash-support.zip http://www.vim.org/scripts/download_script.php?src_id=9890
2.Install the bash-support Vim Plugin
$ mkdir ~/.vim # if the directory does not exist already
$ cd ~/.vim
$ unzip /usr/src/bash-support.zip
3.Enable the plugin in the ~/.vimrc
$ vim /etc/vim/vimrc <==我的vimrc是在/etc/vimrc
filetype plugin on
ok,安装完毕,使用vim建立.sh文件时会默认配置好一些设置:
官方说明:http://www.thegeekstuff.com/2009/02/make-vim-as-your-bash-ide-using-bash-support-plugin