From 7fa6406e8a43ba65be177480d9af63f383b1a532 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Thu, 23 Mar 2017 20:47:36 -0400 Subject: [PATCH] Add function to open thunar in current directory --- .emacs.d/init.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 451f031..1ba8e5a 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -21,6 +21,11 @@ (column-number-mode 1) (tool-bar-mode -1) +;;;; not sure where to put this +(defun open-thunar-in-current-directory () + (interactive) + (call-process "thunar" nil 0 nil ".")) + ;;; enable disabled functions (put 'upcase-region 'disabled nil) (put 'downcase-region 'disabled nil)