]> git.earman.xyz Git - emacsinit.git/commitdiff
Add some actions to action-lock's rules
authorrearman <rearman@r717.net>
Tue, 26 Aug 2025 19:13:48 +0000 (15:13 -0400)
committerrearman <rearman@r717.net>
Tue, 26 Aug 2025 19:13:48 +0000 (15:13 -0400)
re/re-packages.el

index d8af73e006cd53ce29ff44802ab67801059fe95a..c0f23159c7e8b0b5eb763841b6a21e4938f22e81 100644 (file)
 
 (use-package howm
   :config
+  (setq action-lock-default-rules
+       (append action-lock-default-rules
+               (list '("\\[Mtg\\]" (lambda (&optional dummy) (howm-create 2)))
+                     '("\\[Person\\]" (lambda (&optional dummy) (howm-create 3))))))
   (require 're-howm-skeletons)
   (setq howm-template-list '("= %title%cursor\n%date %file\n\n"
                             "= %title%cursor Meeting\n%date %file\n\nAttendees: \n"
        ("M-<up>" . markdown-move-up)
        ("M-<down>" . markdown-move-down)
        ("C-M-u" . markdown-up-heading)
-       ;; ("C-M-d" . markdown-down-heading) NOT AVAILABLE!!
        ("C-M-b" . markdown-outline-previous-same-level)
        ("C-M-f" . markdown-outline-next-same-level)
        ("C-M-p" . markdown-outline-previous)