chmouel / consult-vc-modified-files

List git modified files in a project with vc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

consult-vc-modified-files

List git modified, newly added and files from the HEAD commits using vc in a project

Screenshot

image

Installation

Using package.el (with emacs29's package-vc.el):

(unless (package-installed-p 'consult-vc-modified-files)
  (package-vc-install "https://github.com/chmouel/consult-vc-modified-files"))
(use-package consult-vc-modified-files
  :bind
  ("C-x v /" . consult-vc-modified-files))

I use general.el with a leader key in evil so I define them like this:

(use-package consult-vc-modified-files
  :general (general-leader '(normal) "sm" #'(consult-vc-modified-files :wk "Modified files")))

Usage

Use the interactive function consult-vc-modified-files or bind it to a key (C-x v / if you use the installation method above).

Copyright

License

GPL-3.0

Authors

Chmouel Boudjnah

About

List git modified files in a project with vc

License:GNU General Public License v3.0


Languages

Language:Emacs Lisp 100.0%