fix(emacs): Fix Org-mode snippets

This commit is contained in:
Madeleine Sydney
2025-04-22 06:25:11 -06:00
parent e50756b3b9
commit faec282d46
2 changed files with 5 additions and 3 deletions

View File

@@ -161,8 +161,9 @@ See https://lists.gnu.org/archive/html/emacs-orgmode/2019-07/msg00081.html."
(general-def
:keymaps 'org-mode-map
:states '(insert emacs)
[tab] #'org-cycle
[C-M-return] #'org-insert-subheading)
[C-M-return] #'org-insert-subheading
"TAB" nil
"<tab>" nil)
(general-def
:prefix-map 'syd-org-mode-links-map
"l" #'org-insert-link

View File

@@ -1,7 +1,8 @@
;;; syd-snippets.el -*- lexical-binding: t; -*-
(use-package yasnippet
:hook (on-first-input . yas-global-mode))
:hook (on-first-input . yas-global-mode)
:bind (:map syd-leader-insert-map ("s" . yas-insert-snippet)))
(use-package yasnippet-snippets
:after yasnippet)