fix(emacs): Fix Org-mode snippets
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user