Add counsel-find-file's actions to counsel-file-jump

This commit is contained in:
Henrik Lissner 2020-01-01 16:49:00 -05:00
parent 2ef0ed90a4
commit ab994627bc
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -253,6 +253,8 @@ evil-ex-specific constructs, so we disable it solely in evil-ex."
("L" (lambda (path) (with-ivy-window (insert (format "[[%s]]" path))))
"Insert absolute org-link"))))
(ivy-add-actions 'counsel-file-jump (plist-get ivy--actions-list 'counsel-find-file))
;; `counsel-search': use normal page for displaying results, so that we see
;; custom ddg themes (if one is set).
(setf (nth 1 (alist-get 'ddg counsel-search-engines-alist))