disable dired-git-info when ranger is enabled and fix keybinding

This commit is contained in:
Max Nickel 2019-11-02 14:31:53 -04:00
parent 1b962937ce
commit d295c5d723

View file

@ -178,8 +178,11 @@ we have to clean it up ourselves."
(use-package! dired-git-info
:bind (:map dired-mode-map (")" . dired-git-info-mode))
:unless (featurep! +ranger)
:after dired
:init
(progn
(add-hook 'dired-after-readin-hook '+dired-enable-git-info-h)))
(add-hook 'dired-after-readin-hook '+dired-enable-git-info-h)
:config
(map!
:map dired-mode-map
:ng ")" #'dired-git-info-mode))