[Helm] Allow specifying separate handler for helm shortcuts
This commit is contained in:
parent
9278973a62
commit
48c2acde0e
@ -287,7 +287,10 @@ If FILE is not given, prompt for one."
|
||||
(defvar db/helm-source-frequently-visited-locations
|
||||
'((name . "Locations")
|
||||
(candidates . db/helm-frequently-visited-locations)
|
||||
(action . (("Open" . find-file)))
|
||||
(action . (("Open" . (lambda (entry)
|
||||
(if (consp entry)
|
||||
(funcall (car entry) (cdr entry))
|
||||
(find-file entry))))))
|
||||
(filtered-candidate-transformer . helm-adaptive-sort)))
|
||||
|
||||
(defcustom db/important-documents-path "~/Documents/library/"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user