GNU-devel ELPA - dired-git-info

dired-git-info

Description
Show git info in dired
Latest
dired-git-info-0.3.1.0.20191229.192948.tar (.sig), 2024-Mar-31, 90.0 KiB
Maintainer
Clemens Radermacher <clemera@posteo.net>
Atom feed
dired-git-info.xml
Website
https://github.com/clemera/dired-git-info
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

<a href="https://elpa.gnu.org/packages/dired-git-info.html"><img alt="GNU ELPA" src="></a>

1. Description

This Emacs packages provides a minor mode which shows git information inside the dired buffer:

screenshot2.png

2. Installation

2.1. GNU ELPA

This package is available on GNU ELPA. You can install it via M-x package-install RET dired-git-info RET

2.2. Manual

For manual installation, clone the repository and call:

(package-install-file "/path/to/dired-git-info.el")

3. Config

3.1. Bind the minor mode command in dired

(with-eval-after-load 'dired
  (define-key dired-mode-map ")" 'dired-git-info-mode))

3.2. Don't hide normal Dired file info

By default, toggling dired-git-info-mode also toggles the built-in dired-hide-details-mode, which hides file details such as ownership, permissions and size. This behaviour can be disabled by overriding dgi-auto-hide-details-p:

(setq dgi-auto-hide-details-p nil)

3.3. Enable automatically in every Dired buffer (if in Git repository)

To enable dired-git-info-mode whenever you navigate to a Git repository, use the following:

(add-hook 'dired-after-readin-hook 'dired-git-info-auto-enable)

Old versions

dired-git-info-0.3.1.0.20191214.192854.tar.lz2020-Dec-1464.9 KiB