From: Eshel Yaron Date: Sat, 26 Aug 2023 12:14:24 +0000 (+0200) Subject: * .emacs.d/init.el (esy/tmp-dired): New command, bound to C-c t X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c607b58ac427cbae31207d03b0eb4008dfe9c0bc;p=dotfiles.git * .emacs.d/init.el (esy/tmp-dired): New command, bound to C-c t --- 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)