branch: master
commit 7317848f8c9f1a2346761351b354e350be51bc30
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
counsel.el (counsel-M-x): Add "definition" action
---
counsel.el | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/counsel.el b/counsel.el
index 4f177cb..0e3010e 100644
--- a/counsel.el
+++ b/counsel.el
@@ -241,6 +241,10 @@
'(("i" counsel-info-lookup-symbol "info")
("d" counsel--find-symbol "definition")))
+(ivy-set-actions
+ 'counsel-M-x
+ '(("d" counsel--find-symbol "definition")))
+
;;;###autoload
(defun counsel-describe-function ()
"Forward to `describe-function'."