My previous vim configuration was full of settings and plugins that I didn't even remember why I had them. So I decided to start a new one from scratch and add things as I feel something is missing or when something doesn't behave as I want.
The configuration is supposed to work on both Linux and for GVim running from an external hard drive on a Windows machine, but I haven't checked Windows compatibility completely yet.
I use Vundle for managing my plugins and the setup with separate configuration files for different plugins is stolen from fsprorus vimfiles.
- Clone repository to ~/.vim
- Copy ~/.vim/vimrc_linker.vim to ~/.vimrc
- cd ~/.vim
- git submodule update --init
- Start vim
- :PluginInstall
You need to somehow set PATH before gvim starts to include directories that contain either python2 or python3, lua and git for all the plugins to work. Therefore you also need a gvim binary built with support for either python2 or python3 (or both) and lua. One such can be found at http://tuxproject.de/projects/vim/. What I do is that I msysgit portable on my drive and in their script to start a command shell I set the path to the other things I need and to gvim and then I use this to work from. The git portable can be downloaded at msysgit - downloads.
Then:
- Clone repository to vimfiles in the parent directory of gvim
- Copy .\vimfiles\vimrc_linker.vim to .\_vimrc
- cd vimfiles
- git submodule update --init
- Start vim
- :PluginInstall
- fsprorus vimfiles
- A veterans vimrc - Mojotech
- Doug Black - A Good Vimrc
- VIM Subreddit
- nvie - How I Boosted My Vim