Enable slash completition in the magit-status helm window
This commit is contained in:
parent
07487c356d
commit
81fb595ca8
4
init.el
4
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)
|
||||
|
Loading…
Reference in New Issue
Block a user