What does it do to my Vim?
It adds the following configuration, you can override it if you wish (see how).
- Uses the desert theme when running Vim in a GUI.
- Installs Pathogen
- Uses the built in apache syntax for files with the extension conf.
- Uses 2 spaces instead of tabs (except for Makefile's).
- Uses smartindent.
- Attaches a
:set paste
and:set nopaste
toggle to <F5>. - Adds line numbers.
- Adds the ability to have .vimrc configuration per directories
- Sets the <Leader> to
,
. - Installs a load of plugins.
Installation
Linux / Mac
curl https://raw.github.com/johngeorgewright/vim-config/master/install.sh | sh
Windows
cd C:\Users\[you]
git clone https://github.com/johngeorgewright/vim-config.git vimfiles
mklink _vimrc vimfiles\_vimrc
cd vimfiles
git submodule update --init
cd bundle\vimproc
# Windows using Mingw (32bit Vim):
make -f make_mingw32.mak
# Windows using Mingw (64bit Vim):
make -f make_mingw64.mak
What comes bundled?
- Ack
- Bufkill
- CoffeeScript
- CSS Color
- CSS3 Syntax
- Ctrl-P - NOTE: Ctrl-P uses a feature to reset the working directory to the selected file's nearest repo ancestor. This is pretty annoying for svn users so I've turned it off.
- Easy Motion - This also replaces generic searching
- Fugitive
- Handlebars
- IndentLine
- Jade
- JSON
- JST
- Less
- Literal CoffeeScript
- Markdown - This is mainly used for the literal coffee plugin
- MRU
- Mustache
- NerdTree - This has been mapped to <F2>
- RVM
- Shell
- Slim
- Snipmate
- Sparkup
- Splice
- Stylus
- Surround
- Syntastic
- taglist - This is mapped to <F3>
- tComment
- TypeScript
- VimProc
- VimShell
I like some of your configuration, but I want some of my own too
Linux
# If you're on linux just edit the created ~/.vim file
Windows
" C:\Users\[you]\_vimrc
runtime _vimrc
" Add your config here...