summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-11-19 00:37:01 -0500
committerKyle Meyer <kyle@kyleam.com>2016-11-19 00:37:01 -0500
commitd3bf3204e14fd843b022baa3467309c69846ec49 (patch)
treef97b6b8d28a58f433e23f2007aa1c1e9d31e769b /lisp
parent8df84d4122bd492c300ff75b06f6fdbf086301ab (diff)
downloademacs.d-d3bf3204e14fd843b022baa3467309c69846ec49.tar.gz
helm: Add binding for dired command
Diffstat (limited to 'lisp')
-rw-r--r--lisp/km-helm.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/km-helm.el b/lisp/km-helm.el
index b8d2dc0..f4471a1 100644
--- a/lisp/km-helm.el
+++ b/lisp/km-helm.el
@@ -29,6 +29,12 @@
(helm-exit-and-execute-action #'display-buffer)))
;;;###autoload
+(defun km/helm-visit-in-dired ()
+ (interactive)
+ (with-helm-alive-p
+ (helm-exit-and-execute-action #'helm-point-file-in-dired)))
+
+;;;###autoload
(defun km/helm-display-file ()
(interactive)
(with-helm-alive-p