Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.22 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.22 KB

Emacs + git-show

FAST and descriptive file search throughout your git(1) repo's history.

This mode exists to allow emacs(1) execute git-show(1) processes dumping the results into a buffer attempting to use its same mode. For example; if the requested file is a shell script, it will open the new buffer is sh-mode.

Functions:

M-x git-show

Searches for files from the git(1) repos history using their SHAs and will also display them using their defined modes (via auto-mode-alist var).

M-x git-show-rm-tmp

Removes the temp directory /tmp/git-show/ (where temp files are stored).

Screencast:

<iframe src="http://player.vimeo.com/video/33925715?title=0&byline=0&portrait=0" width="400" height="300" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>

Emacs git-show from jpablobr on Vimeo.

Installation:

In your emacs config:

(add-to-list 'load-path "~/.emacs.d/load/path/git-show.el")
(require 'git-show)

TODO / Thoughts:

Wonka