Fork me on GitHub

ibuffer-git by jrockway

Integrate git and Ibuffer!

Details

ibuffer-git is an Emacs extension that shows git status information in Ibuffer. There is the larger git-status column, which shows you a full diffstat, and a one-character git-status-mini column that concisely shows the git status; + if you mostly added, - if you mostly deleted, and nothing if the file is not modified.

Now you don't have to trek all the way over to magit just to see which files you've recently changed!

Screenshot

Here it is in action, thanks to htmlize.el. The G column is the mini status, and the Git column is the full diffstat.

The ibuffer format to generate the above is:

(mark modified read-only git-status-mini " "
      (name 18 18 :left :elide)
      " "
      (size 9 -1 :right)
      " "
      (mode 16 16 :left :elide)
      " "
      (eproject 16 16 :left :elide)
      " "
      (git-status 8 8 :left)
      " " filename-and-process)

Download

You can download this project in either zip or tar formats.

You can also clone the project with Git by running:

$ git clone git://github.com/jrockway/ibuffer-git

Install

Install like any elisp extension. (require 'ibuffer-git) somewhere, then customize ibuffer-formats to include git-status or git-status-mini where you like. You can also M-x customize-group ibuffer-git to tweak some settings!