GitHub - ghosty141/consult-git-log-grep: Emacs consult interface to git log --gr...
source link: https://github.com/ghosty141/consult-git-log-grep
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
consult-git-log-grep.el
consult-git-log-grep provides an interactive way to search the git log using consult.
Installation and Configuration
This package is available on MELPA and can be installed using M-x package-install
or if use-package is installed:
(use-package consult-git-log-grep)
By default selecting a commit displays the output of "git show " in a new buffer. This may not be desired if magit is installed.
To use magit to show the commit, set consult-git-log-grep-open-function
to #'magit-show-commit
(use-package consult-git-log-grep
:custom
(consult-git-log-grep-open-function #'magit-show-commit))
Usage
M-x consult-git-log-grep
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK