A simple, minimal architecture for organizing vim configuration files and plugins. With the current configuration, there are a few small plugins such as https://github.com/majutsushi/tagbar for opening a tag pane. As well, the following configs have been setup:
- Persistent undos
- Opening files to the line where they were left off
- Whitespace indicators (and indent guides for tabs)
- Line numbers
- Tab configuration (using tabs not spaces)
- Syntax highlighting
- VPT syntax highlighting (most likely unecessary for anyone)
- Changing mapleader to ","
This has been primarily optimized for C++ development but should be well suited for other environments.
- Clone the repo into
~/.vimwith:
$ git clone https://github.com/ryanwebber/vimconfig ~/.vim
- Initialize the Vundle submodule with:
$ git submodule init
$ git submodule update
- Remove the current vimrc, and create a sym link to
~/.vim/.vimrcwith:
$ ln -s ~/.vim/.vimrc ~/.vimrc
- Open vim and type
:PluginInstallto install the base plugins