Use snippets

This commit is contained in:
Wojciech Kozlowski 2018-03-31 10:53:26 +02:00
parent 88eec477d9
commit f63c10673d
9 changed files with 45 additions and 0 deletions

View File

@ -38,6 +38,7 @@
vala-mode
yaml-mode
yasnippet
yasnippet-snippets
s
f)

5
snippets/org-mode/bra Normal file
View File

@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: bra
# key: bra_
# --
\langle$0|

5
snippets/org-mode/bra0 Normal file
View File

@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: bra-zero
# key: bra0
# --
\langle 0 |$0

5
snippets/org-mode/bra1 Normal file
View File

@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: bra-one
# key: bra1
# --
\langle 1 |$0

5
snippets/org-mode/ket Normal file
View File

@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: ket
# key: ket_
# --
|$0\rangle

5
snippets/org-mode/ket0 Normal file
View File

@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: ket-zero
# key: ket0
# --
|0\rangle$0

5
snippets/org-mode/ket1 Normal file
View File

@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: ket-one
# key: ket1
# --
|1\rangle$0

9
snippets/org-mode/latex Normal file
View File

@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# name: latex
# key: latex_
# --
#+BEGIN_LaTeX latex
$0
#+END_LaTeX latex

View File

@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: latex-eq
# key: eq_
# --
\begin{equation*}$0\end{equation*}