From c607b58ac427cbae31207d03b0eb4008dfe9c0bc Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sat, 26 Aug 2023 14:14:24 +0200 Subject: [PATCH] * .emacs.d/init.el (esy/tmp-dired): New command, bound to C-c t --- .emacs.d/init.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 797dcf5..f779fb7 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -660,6 +660,11 @@ (interactive (list user-init-file)) (find-file init)) +(defun esy/tmp-dired () + "Start Dired in ~/tmp." + (interactive) + (dired "~/tmp")) + (defun esy/ttyper () (interactive) (let ((default-directory "~")) @@ -953,6 +958,7 @@ Interactively, POINT is point and KILL is the prefix argument." (keymap-global-set "C-c R" #'esy/record) (keymap-global-set "C-c G" #'gnus) (keymap-global-set "C-c M" #'mastodon) +(keymap-global-set "C-c t" #'esy/tmp-dired) (keymap-global-set "C-c F" #'esy/find-init-file) (keymap-global-set "C-c SPC" #'consult-mark) (keymap-global-set "C-c 1" #'delete-other-windows) -- 2.39.2