my tiny vim git interface
VimL
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
autoload
plugin
.gitignore
README.md
vim-addon-git-addon-info.txt
vim-addon-git-initial-without-deps.zip

README.md

I wrote a git interface to the git commands I use most often. Enjoy.

commands: see plugin/vim_addon_git.vim

or :*Git

:StatusGit will open a special buffer which maps some very common actions. See vim_addon_git#Names() in autoload/vim_addon_git.vim

press gf on a/path/file.ext or 34efc237 (git hash) to open the file or a view of the commit. (see vim-addon-views) On all views you can use :e! to refresh them

Tested on Linux only

Are you still missing documentation? Tell me.

INSTALLATION:

  • way 1: (recommended) call scriptmanager#Activate(["vim-addon-git"]) Enjoy!

  • way2 : (manual) see vim-addon-git-addon-info.txt. You have to get all dependencies as well

related work

fugitive vcscommand https://bitbucket.org/ZyX_I/aurum

TODO:

  • make gf (and BBlameGit!) aware of current commit if used on views. Currently always HEAD is used

credits to Tass who finally podded me enough to move the code out of tovl ..

== alternatives http://www.vim.org/scripts/script.php?script_id=90 (vcscommand.vim)

https://github.com/languages/VimL/most_watched