My current Vim/NeoVim setup
VimL
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.vim
.ctags
.gitignore
.gitmodules
.vimrc
README.md
configure

README.md

There Be Wizards In Here!

My current vim setup.

Inspired by gtanner's vim config. Uses Pathogen. See Bundles.

Requirements

  • Vim
  • Git
  • NodeJS/NPM
  • Ack

Optional

  • GHC
  • Cabal
  • Ruby
  • RubyGems

Installation

 cd ~/
 git clone git@github.com:brentlintner/vim-settings.git
 ln -s vim-settings/.vimrc
 ln -s vim-settings/.vim
 cd vim-settings
 ./configure

Common Commands

\w

Save all buffers.

\{-,=}

Resize vertically split windows.

space

Search.

ctrl-w+space

Clear search.

ctrl-w+c

:close.

ctrl-w+{s,S}

Toggle spell check.

ctrl-p

Runs :CtrlPMixed.

ctrl-n

Runs :CtrlPBuffer.

ctrl-b

Runs :CtrlPTag

ctrl-e+f

Runs :NerdTreeToggle.

ctrl-{h,j,k,l}

Move around windows.

ctrl-V

Paste from clipboard.

Ack WORD

Search and display lines matched. o opens files.

ctrl-w+e

Run Syntastic.

ctrl-w+E

Close Syntastic.

ctrl-w+b

Toggle Tagbar

ctrl-w+g

Toggle Gundo

\t

Close tab.

:tabe [path]

Open tab.

Adding Custom Commands Per Directory

If you have a .vim.custom file in the CWD, it will be evaluated (last).

Syntastic

The configure script handles installing some packages.

However, be sure to install them:

https://github.com/scrooloose/syntastic/wiki/Syntax-Checkers

Ack Plugin

Install via: http://beyondgrep.com/install

You might also need to add this to your shell config:

alias ack="ack-grep"

Other References