From 81fb595ca8e98d147bcdcd8329677946d909b68f Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Wed, 25 Jul 2018 07:16:37 +0200 Subject: [PATCH] Enable slash completition in the magit-status helm window --- init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index a026e2f..c08d010 100644 --- a/init.el +++ b/init.el @@ -1281,7 +1281,9 @@ INFO plist." (defun gpolonkai/helm-ff-slash-dir-complete () "Make forward slash (/) do completion in helm." (interactive) - (if (and (equal "Find Files" (assoc-default 'name (helm-get-current-source))) + (if (and (or + (equal "magit-status" (assoc-default 'name (helm-get-current-source))) + (equal "Find Files" (assoc-default 'name (helm-get-current-source)))) (stringp (helm-get-selection)) (file-directory-p (helm-get-selection))) (helm-execute-persistent-action)