summaryrefslogtreecommitdiffstats
path: root/.config/nvim/my_snippets
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/my_snippets')
-rw-r--r--.config/nvim/my_snippets/PKGBUILD.snippets5
-rw-r--r--.config/nvim/my_snippets/latex.snippets5
-rw-r--r--.config/nvim/my_snippets/ledger.snippets32
-rw-r--r--.config/nvim/my_snippets/mail.snippets5
-rw-r--r--.config/nvim/my_snippets/vimwiki.snippets9
5 files changed, 56 insertions, 0 deletions
diff --git a/.config/nvim/my_snippets/PKGBUILD.snippets b/.config/nvim/my_snippets/PKGBUILD.snippets
new file mode 100644
index 0000000..f00053f
--- /dev/null
+++ b/.config/nvim/my_snippets/PKGBUILD.snippets
@@ -0,0 +1,5 @@
1# vim:ft=snippets:
2
3snippet m "Maintainer line" b
4# Maintainer: Yigit Sever <yigit at yigitsever dot com>
5endsnippet
diff --git a/.config/nvim/my_snippets/latex.snippets b/.config/nvim/my_snippets/latex.snippets
new file mode 100644
index 0000000..fd53f4d
--- /dev/null
+++ b/.config/nvim/my_snippets/latex.snippets
@@ -0,0 +1,5 @@
1# vim:ft=snippets:
2
3snippet on "O(n)" b
4$\mathcal{O}(n)$
5endsnippet
diff --git a/.config/nvim/my_snippets/ledger.snippets b/.config/nvim/my_snippets/ledger.snippets
new file mode 100644
index 0000000..a8c4eb0
--- /dev/null
+++ b/.config/nvim/my_snippets/ledger.snippets
@@ -0,0 +1,32 @@
1# vim:ft=snippets:
2# vim:set noexpandtab tabstop=4 shiftwidth=4:
3
4snippet c "New Checking Transaction" b
5${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} ${4:Payee}
6 Expenses:${5:} ${6:0.00} TL
7 Assets:Maas$0
8endsnippet
9
10snippet l "New Liabilities Transaction" b
11${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} ${4:Payee}
12 Expenses:${5:} ${6:0.00} TL
13 Liabilities:Maximum$0
14endsnippet
15
16snippet a "New Asmaalti Transaction" b
17${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} Asmaalti Piknik
18 Expenses:Food:Eating Out ${4:0.00} TL
19 ${5:Assets:Maas}$0
20endsnippet
21
22snippet y "New Yemeksepeti Transaction" b
23${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} Yemeksepeti
24 Expenses:Takeout ${4:0.00} TL
25 ${5:Liabilities:Maximum}$0
26endsnippet
27
28snippet m "New Migros Transaction" b
29${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} Migros Market
30 Expenses:Food:Groceries ${4:0.00} TL
31 ${5:Assets:Maas}$0
32endsnippet
diff --git a/.config/nvim/my_snippets/mail.snippets b/.config/nvim/my_snippets/mail.snippets
new file mode 100644
index 0000000..504b7fa
--- /dev/null
+++ b/.config/nvim/my_snippets/mail.snippets
@@ -0,0 +1,5 @@
1# vim:ft=snippets:
2
3snippet ~ "signature" b
4~yigit
5endsnippet
diff --git a/.config/nvim/my_snippets/vimwiki.snippets b/.config/nvim/my_snippets/vimwiki.snippets
new file mode 100644
index 0000000..eb6f8b0
--- /dev/null
+++ b/.config/nvim/my_snippets/vimwiki.snippets
@@ -0,0 +1,9 @@
1# vim:ft=snippets:
2
3snippet link "Link a static content" b
4{{local:/home/yigit/nextcloud/personal_wiki/html/static/${1:filename}|${2:alt text}}}
5endsnippet
6
7snippet on "O(n)" b
8$\mathcal{O}(n)$
9endsnippet