mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
feat(emacs): org snippets
This commit is contained in:
parent
f4e142e83e
commit
9b19b8b834
5 changed files with 16 additions and 4 deletions
|
|
@ -46,7 +46,11 @@
|
|||
(require 'init-org)
|
||||
(require 'init-markdown)
|
||||
(require 'init-latex)
|
||||
(require 'init-beancount)
|
||||
(require 'init-treesitter)
|
||||
(require 'init-scratch)
|
||||
(require 'init-ai)
|
||||
|
||||
|
||||
;; Load `custom` file
|
||||
(when (file-exists-p custom-file)
|
||||
|
|
|
|||
1
tools/emacs.d/site-lisp
Symbolic link
1
tools/emacs.d/site-lisp
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../doom/lisp/
|
||||
7
tools/emacs.d/snippets/org-mode/begin_quote
Normal file
7
tools/emacs.d/snippets/org-mode/begin_quote
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: begin_quote
|
||||
# key: quote
|
||||
# --
|
||||
#+BEGIN_QUOTE
|
||||
$1
|
||||
#+END_QUOTE
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: src
|
||||
# name: begin_src
|
||||
# key: src
|
||||
# --
|
||||
|
||||
#+BEGIN_SRC $1
|
||||
$2
|
||||
#+END_SRC
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,6 @@
|
|||
# key: elisp
|
||||
# --
|
||||
|
||||
#+BEGIN_SRC elisp
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
$1
|
||||
#+END_SRC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue