From 51ade13af7eccd93d01306a181361eab6e514bbd Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 12 Jan 2019 15:29:42 -0500 Subject: [PATCH] Move open-*-in-current-directory bindings after we have bind-key --- .emacs.d/init.el | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 32b9552..d5883c5 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -19,18 +19,6 @@ (when (fboundp 'tool-bar-mode) (tool-bar-mode -1)) -;;;; not sure where to put this -(defun open-thunar-in-current-directory () - (interactive) - (call-process "thunar" nil 0 nil ".")) - -(defun open-term-in-current-directory () - (interactive) - (call-process "alacritty" nil 0 nil)) - -(bind-key "" 'open-term-in-current-directory) -(bind-key "s-t" 'open-thunar-in-current-directory) - ;;;; enable disabled functions (put 'upcase-region 'disabled nil) (put 'downcase-region 'disabled nil) @@ -54,6 +42,18 @@ :config (use-package quelpa-use-package :ensure)) +;;;; not sure where to put this +(defun open-thunar-in-current-directory () + (interactive) + (call-process "thunar" nil 0 nil ".")) + +(defun open-term-in-current-directory () + (interactive) + (call-process "alacritty" nil 0 nil)) + +(bind-key "" 'open-term-in-current-directory) +(bind-key "s-t" 'open-thunar-in-current-directory) + ;;;; internal packages (use-package ibuffer :bind ("C-x C-b" . ibuffer)