A place to update and store my vim configuration
Vim script Perl Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
colors
doc
ftdetect
ftplugin
goodies
indent
plugin
snippets
syntax
.gitignore
.gitmodules
.vimrc
README.md

README.md

Introduction

vix is just a place to keep my particular vim setup and configuration so I can easily experiment with it and clone it on different systems. It's also, of course freely available for other use and measures will be taken to make its installation easy for other people to use and do whatever they want with.

I use Vundle as my plugin manager and I like it a lot.

List of vim plugins I use

  • vundle: The best way to manage vim plugins
  • nerdtree: A tree file browser for the side bar
  • tagbar: Requires ctags
  • tlib: Required for SnipMate
  • mw-utils: Required for SnipMate
  • snipmate: Support for customizable code snippets
  • airline: A great all-vimscript status line
  • easymotion: A great and easy way to quickly change cursor position
  • json: Great JSON syntax highlighting support
  • smalls: Cursor movement with simple search
  • tcomment Great commenting plugin
  • goyo Awesome distraction free writing
  • vim-niji: Easy to-tell LISP parethesis matching for great good
  • vim-slime: Send text in Vim buffer to REPL (preconfigured to use tmux)
  • subertab: Great tab completion
  • vim-racket: Vim support for Racket
  • vim-gotham: A pretty fly color scheme
  • stan.vim: Syntax highlighing for the Stan modeling language

Donate to Vim by sponsoring or registering to vote on features and, more importantly, help needy children in Uganda, please! www.vim.org

Installation

Mac OS X

Install Vim. My favorite way is to build console vim from source (instructions in 'doc' folder) and to use MacVim as a GUI solution. I also have instructions (in doc/) on how to compile MacVim from source.

Use macports to install exuberant ctags (needed for tagbar)

sudo port install ctags-exuberant

Instead of using SIMBL and MouseTerm to get Vim with mouse support working on Terminal.app, why not use iTerm2. It works really really well.

Clone the repository:

git clone https://github.com/tonyfischetti/vix.git ~/.vim

Clone the Vundle bootstrapping packages:

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

Next, create a symlink for .vimrc

ln -s ~/.vim/.vimrc ~/.vimrc

Then, install/update the plugins. Open Vim and run

:PluginInstall!

To install the "Monaco for Powerline" font (which contains the special symbols that the airline plugin uses) open ~/.vim/goodies and double click to install. Then change the font of your favorite terminal emulator

GNU/Linux

These instructions are similar to those for a Mac.

On Debian-based systems, you can make sure you have the dependencies by running

sudo apt-get install vim-gnome vim-full git exuberant-ctags

On other distros, run the equivalent installation commands, or build them from source

Clone the repository:

git clone https://github.com/tonyfischetti/vix.git ~/.vim

Clone the Vundle bootstrapping packages:

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

Next, create a symlink for .vimrc

ln -s ~/.vim/.vimrc ~/.vimrc

Then, install/update the plugins. Open Vim and run

:PluginInstall!

To install the "Monaco for Powerline" font (which contains the special symbols that the airline plugin uses)...

mkdir ~/.fonts
cp ~/.vim/goodies/Monaco+for+Powerline+Patched.otf ~/.fonts
fc-cache -vf

You may have to restart after this

Then change the font of your favorite terminal emulator

Windows

Install Vim self-installing executable from www.vim.org/download.php

Install msysgit from http://msysgit.github.io/ Make sure during the installation you choose the option to add it to your $PATH so that you can use it from the windows command line (cmd). Configure your git config variables as needed.

Download the exuberant ctags windows binary from ctags.sourceforge.net. Now you need to add it to your path; I like to just copy the ctags executable to C:\Program Files (x86)\Git\bin since that is already in the $PATH from the last instruction.

Clone the repository:

git clone https://github.com/tonyfischetti/vix.git /Users/YOURNAME/vimfiles

Get Vundle installed

Next, create a symlink for .vimrc

mklink "\Users\YOURNAME\_vimrc" "\Users\YOURNAME\vimfiles\.vimrc"

Then, install/update the plugins. Open Vim and run

:PluginInstall!

Windows (Cygwin)

Install and setup Cygwin. During setup, make sure you get git, ctags, pydoc, vim, etc... Throw in python, perl, grep, sed, awk, etc.. for good measure

Clone the repository:

git clone https://github.com/tonyfischetti/vix.git ~/.vim

Clone the Vundle bootstrapping packages:

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

Next, create a symlink for .vimrc

ln -s ~/.vim/.vimrc ~/.vimrc

Then, install/update the plugins. Open Vim and run

:PluginInstall!

Notes

In the "doc" directory, I have

  • instructions on how to build vim from source on OS X (OS X ships with an old version)
  • instructions on how to build MacVim from source
  • a .pages and PDF of a personal Vim cheatsheet containing an overview of my custom mappings ( I print it out and put it behind my monitor :) ) (NOTE: THIS IS OUT OF DATE)
  • There are fonts optimized for the airline plugin in the "goodies" folder. The vimrcs demand these fonts in a lot of cases, but will fall back on defaults until the fonts are installed