svanzoest / dotvim forked from fujin/dotvim

My vim tweaks based on many.

This URL has Read+Write access

svanzoest (author)
Fri Aug 07 12:41:50 -0700 2009
commit  6056ed804492c60970da0c17d66cf5d0e8c46afb
tree    8b8b7dff9bd27330d1e280426c7a05dcf8263e06
parent  96a88f1627601f89da0e4d926e84b4eee9b449f6
dotvim /
name age message
file .gitignore Wed Apr 22 14:25:41 -0700 2009 Initial commit [adamhjk]
file .gitmodules Loading commit data...
file README.rdoc
directory autoload/ Wed Apr 22 14:25:41 -0700 2009 Initial commit [adamhjk]
directory colors/
directory compiler/ Wed Apr 22 14:25:41 -0700 2009 Initial commit [adamhjk]
directory doc/
directory ftdetect/ Fri May 22 13:59:41 -0700 2009 A few config tweaks, adding ack support [adamhjk]
directory ftplugin/
submodule git-vim - 73a1817
directory indent/ Wed Apr 22 14:25:41 -0700 2009 Initial commit [adamhjk]
directory plugin/
directory syntax/ Tue Jul 28 15:53:12 -0700 2009 Adding git-vim [adamhjk]
file vimrc
README.rdoc

Dotvim

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, 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.

Once you are running, in command mode:

Introduction

Git-vim provides:

  • Plugin files for calling git functions from inside Vim
  • Syntax files for git displays

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

Commands

: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.

Keymaps

,l
Toggle Taglist
,d
Toggle NERDtree
,t
:FuzzyFinderTextmate
,b
:FuzzyBufferFinder
, gd
:GitDiff
,gD
:GitDiff —cached
,gs
:GitStatus
,gl
:GitLog
,ga
:GitAdd
,gA
:GitAdd <cfile>
,gc
:GitCommit

In git-status buffer

<Enter>
:GitAdd <cfile>