#General Vim Configuration
Designed with Simplicity & Functionality in mind.
Please, be aware that these files are always in a constant flux.
##Requirements
Don't worry most of these are pretty basic. I hate bloat and cruft too! Please, do yourself a favor and install current versions; unless instructed otherwise.
Homebrew* Although, NOT actually a requirement, save yourself the headaches of manual package installation. Homebrew is clean and takes the nightmare out of installing, updating or uninstalling packages. Strongly Recommended!
MacVim Install the latest version of MacVim with python2 support. Yes, MacVim. And yes, the latest.
Manual install:
If you don't use the MacVim GUI, you need to use the Vim binary inside the MacVim.app package (MacVim.app/Contents/MacOS/Vim). Copy the mvim script from the MacVim download to your local binary folder (ex. /usr/local/bin/mvim) and then symlink it:
ln -s /usr/local/bin/mvim vimIf you're like me and you don't like hanging out in /usr/* just add a few alias into your ~/.bash_profile
echo "alias vim='mvim -v'" >> ~/.bash_profile
echo "alias vi='mvim -v'" >> ~/.bash_profileFeel free to look at the rest of my bash_profile
Python The OSX default python should suffice. Although, if you want to upgrade this configuration will utilize the +2.7 variant.
CMake Preferably with Homebrew, but here's the stand-alone CMake installer.
Node Make sure you install with npm.
Exuberant Ctags Preferably with Homebrew, this is a pain to install manually.
Powerline Font The Powerline bundle requires a pre-patched font for special characters. I personally prefer a Meslo Large Regular at 11 pts because it's designed to look similar to menlo (I ❤️ consistency).
To change the default font under the Color and Font section in the ~/.vim/.vimrc file.
set guifont=<font>:h<size>##Installation
#####NOTE: If you have existing files in $HOME/.vim or $HOME/.vimrc, make sure you make appropriate backups before performing any of the following steps.
-
Quit Vim. (Some bundles require clean starts)
-
clone this respository into your
$HOME/.vimdirectory.$ git clone git://github.com/frankymartz/vimrc.git ~/.vim && cd ~/.vim -
Next, run the following
pythonscript:$ ./setup.py
That is it!
Well not exactly. Additional instructions will print to your terminal.
##Q&A ###I want to Contribute? Sorry, but I use this configuration daily. I will NOT be accepting pull requests.
Some configuration files are not exclusive to Vim and are tightly bound to other program installations. I would rather not make any assumptions and allow you to configure these files as you deem suitable.
##Credits Special thanks, to those fantastic people I've been shamelessly stealing from!
@scrogson @sjl @nvie
Please contact me if I'm forgetting someone.