Skip to content

Instantly share code, notes, and snippets.

@chmouel
Last active December 12, 2015 09:19
Show Gist options
  • Save chmouel/4751125 to your computer and use it in GitHub Desktop.
Save chmouel/4751125 to your computer and use it in GitHub Desktop.
; Anything with Magit
(defvar anything-c-source-magit-repos
'((name . "Magit Repos")
(init . (lambda ()
(require 'magit)))
(candidates . (lambda () (magit-list-repos magit-repo-dirs)))
(filtered-candidate-transformer . anything-c-adaptive-sort)
(action
("Open Dir" . dired)
("Magit" . magit-status))
"See (info \"(emacs)magit\")."))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment