Skip to content

Instantly share code, notes, and snippets.

@whynotavailable
whynotavailable / notes.el
Created May 22, 2019 15:24
Small snippit to generate note files per date. Also bind it to M-n
(setq note-format "~/notes/%F.org")
(defun make-note()
"Create a new page for today"
(interactive)
(find-file (format-time-string note-format)))
(global-set-key (kbd "M-n") 'make-note)