aboutsummaryrefslogtreecommitdiff
path: root/vim/bundle/vim-snippets/UltiSnips/bib.snippets
diff options
context:
space:
mode:
Diffstat (limited to 'vim/bundle/vim-snippets/UltiSnips/bib.snippets')
-rw-r--r--vim/bundle/vim-snippets/UltiSnips/bib.snippets52
1 files changed, 52 insertions, 0 deletions
diff --git a/vim/bundle/vim-snippets/UltiSnips/bib.snippets b/vim/bundle/vim-snippets/UltiSnips/bib.snippets
new file mode 100644
index 0000000..c9b8df5
--- /dev/null
+++ b/vim/bundle/vim-snippets/UltiSnips/bib.snippets
@@ -0,0 +1,52 @@
+priority -50
+
+snippet online "Online resource" b
+@online{${1:name},
+ author={${2:author}},
+ title={${3:title}},
+ date={${4:date}},
+ url={${5:url}}
+}
+$0
+endsnippet
+
+snippet article "Article reference" b
+@article{${1:name},
+ author={${2:author}},
+ title={${3:title}},
+ journaltitle={${4:journal}},
+ volume={${5:NN}},
+ number={${6:NN}},
+ year={${7:YYYY}},
+ pages={${8:NN}--${9:NN}}
+}
+$0
+endsnippet
+
+snippet book "Book reference" b
+@book{${1:name},
+ author={${2:author}},
+ title={${3:title}},
+ subtitle={${4:subtitle}},
+ year={${5:YYYY}},
+ location={${6:somewhere}},
+ publisher={${7:publisher}},
+ pages={${8:NN}--${9:NN}}
+}
+$0
+endsnippet
+
+snippet inb "In Book reference" b
+@inbook{${1:name},
+ author={${2:author}},
+ title={${3:title}},
+ subtitle={${4:subtitle}},
+ booktitle={${5:book}},
+ editor={${6:editor}},
+ year={${7:YYYY}},
+ location={${8:somewhere}},
+ publisher={${9:publisher}},
+ pages={${10:NN}--${11:NN}}
+}
+$0
+endsnippet