emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/dired-git-info 7b14812 5/8: Merge pull request #6 from


From: Clemens Radermacher
Subject: [elpa] externals/dired-git-info 7b14812 5/8: Merge pull request #6 from it-is-wednesday/patch-1
Date: Wed, 11 Dec 2019 14:32:37 -0500 (EST)

branch: externals/dired-git-info
commit 7b14812da0ce24cd3d403748d944377a1cc33285
Merge: 9f34bd7 cf4e7cf
Author: Clemens Radermacher <address@hidden>
Commit: GitHub <address@hidden>

    Merge pull request #6 from it-is-wednesday/patch-1
    
    Add some configuration info in README.org
---
 README.org | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/README.org b/README.org
index c34f9c9..b97332b 100644
--- a/README.org
+++ b/README.org
@@ -11,6 +11,12 @@ the dired buffer:
 
 * Installation
 
+** ELPA
+
+This package is available on [[https://elpa.gnu.org][ELPA]]. You can install 
it via =M-x package-install RET dired-git-info RET=
+
+** Manual
+
 For manual installation, clone the repository and call:
 
 #+BEGIN_SRC elisp
@@ -19,9 +25,26 @@ For manual installation, clone the repository and call:
 
 * Config
 
-Bind the minor mode command in dired:
+** Bind the minor mode command in dired
 
 #+BEGIN_SRC elisp
 (with-eval-after-load 'dired
   (define-key dired-mode-map ")" 'dired-git-info-mode))
 #+END_SRC
+
+** 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=:
+
+#+BEGIN_SRC elisp
+(with-eval-after-load 'dired
+  (setq dgi-auto-hide-details-p nil))
+#+END_SRC
+
+** Enable automatically in every Dired buffer (if in Git repository)
+
+To enable =dired-git-info-mode= whenever you navigate to a Git repository, add 
the following snippet:
+#+BEGIN_SRC elisp
+(with-eval-after-load 'dired
+  (add-hook 'dired-after-readin-hook 'dired-git-info-auto-enable))
+#+END_SRC



reply via email to

[Prev in Thread] Current Thread [Next in Thread]