summaryrefslogtreecommitdiff
path: root/luasnip_snippets/bib.json
diff options
context:
space:
mode:
authorVito G. Graffagnino <vito@graffagnino.xyz>2022-08-30 16:06:22 +0100
committerVito G. Graffagnino <vito@graffagnino.xyz>2022-08-30 16:06:22 +0100
commitf1eabbaa1b4ff1836d0ee8335b31d009203f3775 (patch)
treebbe77eacaef8ab8a5999e517c3006973c9e3e44c /luasnip_snippets/bib.json
parent823302458ec6c53455a3f34674415c43ce6a3187 (diff)
fixed zathura integration with texlab using nvim-texlabconfig
Diffstat (limited to 'luasnip_snippets/bib.json')
-rw-r--r--luasnip_snippets/bib.json68
1 files changed, 68 insertions, 0 deletions
diff --git a/luasnip_snippets/bib.json b/luasnip_snippets/bib.json
new file mode 100644
index 0000000..6f237c7
--- /dev/null
+++ b/luasnip_snippets/bib.json
@@ -0,0 +1,68 @@
+{
+ "online": {
+ "prefix": "online",
+ "description": "Online resource",
+ "body": [
+ "@online{${1:name},",
+ "\tauthor={${2:author}\\},",
+ "\ttitle={${3:title}\\},",
+ "\tdate={${4:date}\\},",
+ "\turl={${5:url}\\}",
+ "\\}",
+ "$0"
+ ],
+ "luasnip": {
+ "priority": -50
+ }
+ },
+ "article": {
+ "prefix": "article",
+ "description": "Article reference",
+ "body": [
+ "@article{${1:name},",
+ "\tauthor={${2:author}\\},",
+ "\ttitle={${3:title}\\},",
+ "\tjournaltitle={${4:journal}\\},",
+ "\tvolume={${5:NN}\\},",
+ "\tnumber={${6:NN}\\},",
+ "\tyear={${7:YYYY}\\},",
+ "\tpages={${8:NN}--${9:NN}\\}",
+ "\\}",
+ "$0"
+ ]
+ },
+ "book": {
+ "prefix": "book",
+ "description": "Book reference",
+ "body": [
+ "@book{${1:name},",
+ "\tauthor={${2:author}\\},",
+ "\ttitle={${3:title}\\},",
+ "\tsubtitle={${4:subtitle}\\},",
+ "\tyear={${5:YYYY}\\},",
+ "\tlocation={${6:somewhere}\\},",
+ "\tpublisher={${7:publisher}\\},",
+ "\tpages={${8:NN}--${9:NN}\\}",
+ "\\}",
+ "$0"
+ ]
+ },
+ "inb": {
+ "prefix": "inb",
+ "description": "In Book reference",
+ "body": [
+ "@inbook{${1:name},",
+ "\tauthor={${2:author}\\},",
+ "\ttitle={${3:title}\\},",
+ "\tsubtitle={${4:subtitle}\\},",
+ "\tbooktitle={${5:book}\\},",
+ "\teditor={${6:editor}\\},",
+ "\tyear={${7:YYYY}\\},",
+ "\tlocation={${8:somewhere}\\},",
+ "\tpublisher={${9:publisher}\\},",
+ "\tpages={${10:NN}--${11:NN}\\}",
+ "\\}",
+ "$0"
+ ]
+ }
+}