This folder contains the Vim configuration that I currently use for development purposes. Note: Kindly refer the vimrc_config file for current updated plug-ins.
Kindly refer to the vimrc_config file for a look into my personal .vimrc/_vimrc configurations.
I currently use following plugins with Vim:
First create following directories and files in you home folder of the user:
mkdir -p ~/.vim/autoload ~/.vim/bundle ~/.vim/plugin ~/.vim/undo
touch ~/.vimrc
- Note 1: If you are using Vim on Windows instead of creating .vimrc file and .vim folder kindly create _vimrc file and vimfiles folder under the home folder(base folder) of the user.
- Note 2: Currently only a subset of the plugins will work with Vim on Windows.
- Note 3: Kindly go through each plugin installation instructions once before reading further as these steps will vary depending on your environment and you personal preferences.
For installing this plugin first get the cscope_map.vim from here.
wget http://cscope.sourceforge.net/cscope_maps.vim
mv cscope_maps.vim ~/.vim/plugin
Following steps will help you installing the nerdtree plugin.
cd ~/.vim/bundle
git clone https://github.com/scrooloose/nerdtree.git
First we need to install Pyclewn using pip:
pip install pyclewn --user
- Note: Kindly note the --user option passed to the pip command to install it as local user package.
- Also check if the path environment variable points to the ~/.local/bin folder. Note: This package seems to be deprecated.
Install the Vim runtime files with a vimball.
# Getting the vimball file.
python -c "import clewn; clewn.get_vimball()"
# Installing the vimball file
vim -S pyclewn-2.3.vmb
Quit Vim to complete the setup for Pyclewn for Vim.
Note: For running the pyclewn plugin with GVim you'll need to add following line to you ~/.vimrc config file.
let g:pyclewn_terminal = "xterm, -e"
Following steps will help you installing the SrcExpl plugin.
cd ~/.vim/bundle
git clone https://github.com/wesleyche/SrcExpl.git
- Note: Kindly note that the SrcExpl along with the plugin YouCompleteMe have unexpected behaviour. Please apply the patch SrcExpl.patch available under the folder by first copying the patch file into the cloned SrcExpl git repo and applying the patch using:
git apply SrcExpl.patch
Following steps will help you installing the taglist plugin.
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/taglist.vim.git
Notes:
- Kindly Download the latest taglist plugin from http://vim.sourceforge.net/scripts/script.php?script_id=273.
- When using universal-ctags with vim kindly add the following line in the ~/.vimrc config file.
let g:Tlist_Ctags_Cmd = "u_ctags"
Following steps will help you installing the Trinity plugin.
cd ~/.vim/bundle
git clone https://github.com/wesleyche/Trinity.git
Warning: Kindly remove the nerdtree plugin packaged with Trinity.
For installing the Vundle plugin kindly follow these steps:
cd .vim/bundle
git clone https://github.com/VundleVim/Vundle.vim
Note: Follow the official documentation for installing and managing the Vim plugins through Vundle.
For installing this plugin kindly refer to the projects documentation on building and installing the plugin for Vim.
Below steps replicated here for convenience:
cd ~/.vim/bundle/YouCompleteMe
git submodule --init --recursive
python3 ./install.py --clang-completer