This is the vim plugins and .vimrc for reference and backup. This .vim is compatible with Vim 7.3 and probably with newer versions.
- Unix system with Vim editor installed.
 - The Silver Searcher installed.
 
Run every command and make sure they work well. You can copy and paste them in the command line.
rm -rf ~/.vim
rm ~/.vimrc
git clone https://github.com/adlerhsieh/.vim.git ~/.vim
cd ~/.vim ; git submodule init
cd ~/.vim ; git submodule update --recursive
cp ~/.vim/misc/.vimrc ~/.vimrc
cp ~/.vim/misc/onedark.vim ~/.vim/bundle/vim-colorschemes/colors/onedark.vimThe Onedark theme should look like the following:
On the other hand, if you want to change it to another theme, go to this part in .vimrc and change onedark to popular monokai or other themes. Source the file and it's done.
And install the following according to your os.
brew install the_silver_searcher
# or
apt-get install silversearcher-agInstall Python first, and then:
pip3 install neovim
Referenced from this disucssion.
The following allows NeoVim to use the same config as Vim.
brew install nvim
# then
vim ~/.config/nvim/init.vimAfter opening the file, paste the following:
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath=&runtimepath
source ~/.vimrcsave and it's done.
Error message when starting vim regarding tlib_vim.
Solution:
cd ~/.vim/bundle/tlib_vim
git pull origin master --rebaseReferenced from this issue.
