dotfiles

shared miscellaneous configuration files between my systems
git clone git://git.eonn.xyz/dotfiles.git
Log | Files | Refs

commit 8e00818ddcabd0aba35583d39eff20e9ba5d0a43
parent 4c006c406d4aaff07283e34de2b6f26be9249f6a
Author: Ian Ressa <ian@eonn.xyz>
Date:   Tue, 23 Aug 2022 15:11:37 -0400

add org-insert-date

Diffstat:
M.emacs.d/init.el | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/.emacs.d/init.el b/.emacs.d/init.el @@ -3,6 +3,7 @@ (global-set-key (kbd "C-c l") 'org-store-link) (global-set-key (kbd "C-c a") 'org-agenda) (global-set-key (kbd "C-c c") 'org-capture) +(global-set-key (kbd "C-c C-t") 'org-insert-date) (setq org-log-done 'time) (setq org-todo-keywords @@ -20,6 +21,11 @@ '(("t" "TODO") )) +(defun org-insert-date () + (interactive) + (require 'org) + (insert (format-time-string "%m-%d-%Y" (org-read-date nil 'to-time nil "Date: ")))) + (package-initialize) (custom-set-variables ;; custom-set-variables was added by Custom.