branch: master
commit b3f2ab020313a9ff14b7afda47660244ed8a9ce6
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>

    counsel.el (counsel-fzf): Set extra actions
---
 counsel.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/counsel.el b/counsel.el
index 6159021..e755760 100644
--- a/counsel.el
+++ b/counsel.el
@@ -1950,6 +1950,11 @@ INITIAL-INPUT can be given as the initial minibuffer 
input."
     (let ((default-directory counsel--fzf-dir))
       (find-file x))))
 
+(ivy-set-actions
+ 'counsel-fzf
+ '(("x" counsel-locate-action-extern "xdg-open")
+   ("d" counsel-locate-action-dired "dired")))
+
 (counsel-set-async-exit-code 'counsel-fzf 1 "Nothing found")
 
 ;;** `counsel-dpkg'

Reply via email to