mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43: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-org)
|
||||||
(require 'init-markdown)
|
(require 'init-markdown)
|
||||||
(require 'init-latex)
|
(require 'init-latex)
|
||||||
|
(require 'init-beancount)
|
||||||
(require 'init-treesitter)
|
(require 'init-treesitter)
|
||||||
|
(require 'init-scratch)
|
||||||
|
(require 'init-ai)
|
||||||
|
|
||||||
|
|
||||||
;; Load `custom` file
|
;; Load `custom` file
|
||||||
(when (file-exists-p 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 -*-
|
# -*- mode: snippet -*-
|
||||||
# name: src
|
# name: begin_src
|
||||||
# key: src
|
# key: src
|
||||||
# --
|
# --
|
||||||
|
|
||||||
#+BEGIN_SRC $1
|
#+BEGIN_SRC $1
|
||||||
$2
|
$2
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,6 @@
|
||||||
# key: elisp
|
# key: elisp
|
||||||
# --
|
# --
|
||||||
|
|
||||||
#+BEGIN_SRC elisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
$1
|
$1
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue