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
|
(general-def
|
||||||
:keymaps 'org-mode-map
|
:keymaps 'org-mode-map
|
||||||
:states '(insert emacs)
|
:states '(insert emacs)
|
||||||
[tab] #'org-cycle
|
[C-M-return] #'org-insert-subheading
|
||||||
[C-M-return] #'org-insert-subheading)
|
"TAB" nil
|
||||||
|
"<tab>" nil)
|
||||||
(general-def
|
(general-def
|
||||||
:prefix-map 'syd-org-mode-links-map
|
:prefix-map 'syd-org-mode-links-map
|
||||||
"l" #'org-insert-link
|
"l" #'org-insert-link
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
;;; syd-snippets.el -*- lexical-binding: t; -*-
|
;;; syd-snippets.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
(use-package yasnippet
|
(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
|
(use-package yasnippet-snippets
|
||||||
:after yasnippet)
|
:after yasnippet)
|
||||||
|
|||||||
Reference in New Issue
Block a user