Created
January 9, 2024 23:48
-
-
Save rytswd/2c4ac539d8d928c78bafb128de025edd to your computer and use it in GitHub Desktop.
Emacs: Start with insert mode for org-note
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun rytswd/org-add-log-note-set-evil-insert (&rest args) | |
(when (bound-and-true-p evil-mode) | |
(evil-insert-state))) | |
;; org-add-log-note called by org-add-note and org-agenda-add-note. | |
(advice-add 'org-add-log-note :after #'rytswd/org-add-log-note-set-evil-insert) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment