Skip to content
jtimbermanPublic
forked from adamhjk/adam-vim

About

My modifications to Adam's vim setup.

Resources

Stars

31 stars

Watchers

3 watching

Forks

 
 

Repository files navigation

This is the contents of my .vim directory. It includes my vimrc, which you should symlink to ~/.vimrc in order to get the goodness.

It includes several plugins: Git-vim, Gist, NERDtree, FuzzyFinder, FuzzyFinderTextmate, lots of color schemes, updated ruby bindings, and more.

To use, copy this directory to ~/.vim and symlink ~/.vim/vimrc to ~/.vimrc.

Fugitive provides:

NerdTree provides:

  • A TextMate style ‘project drawer’

  • A built in filesystem explorer

FuzzyFinder(Textmate) provides:

  • A TextMate style ‘cmd-t’ buffer switching interface

  • An ‘open buffers’ tab-esque interface

Ack provides:

  • Awesome code grepping

Taglist provides:

  • Easy source code browsing

  • Must have exuberant ctags installed

  • Set to auto-populate behind the scenes

Surround provides:

  • Setting or replacing text that surrounds lines

NERD_Commenter provides:

  • Super smart comment control

Gist provides:

  • Integrated gist support

:GitAdd <file>

git-add <file> or current file if not specified.

:GitCommit <args>

git-commit.

:GitStatus

Show git-status of current file or repository.

:GitLog

Show git-log of current file or repository.

:GitCheckout <args>

git-checkout. Completes git commits.

:GitDiff <args>

git-diff. Completes git commits.

:GitPull <args>

git-pull.

:GitPullRebase

git-pull –rebase.

:GitPush <args>

git-push. Defaults to +git push origin <current-branch>+.

:GitCatFile <args>

git-cat-file.

:Git <args>

Does any git command.

:GitVimDiffMerge

Experimental. Call this command on unmerged file to enter vimdiff mode.

:GitVimDiffMergeDone

Call this command after merging.

:Ack

Takes options, a pattern, and a directory. Shows results in a quickbuffer.

:AckAdd

Like Ack + grepadd - adds to, rather than replaces, the quickbuffer.

:LAck

Ack + lgrep - opens in location-list

:LAckAdd

Appends to the location list

:TlistOpen

Opens the tag list window

:TlistToggle

Toggle the tag list window