diff options
author | Yigit Sever | 2021-10-14 19:15:29 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-14 19:15:29 +0300 |
commit | 05ed37125b8f0bf534faaac521d1139ca5ae5dfc (patch) | |
tree | a1f6845748d4467e24ee23eebc7b08274c92dc14 /.config/nvim | |
parent | be264a2d87025a3635c654adbca201a414ffa27b (diff) | |
download | dotfiles-05ed37125b8f0bf534faaac521d1139ca5ae5dfc.tar.gz dotfiles-05ed37125b8f0bf534faaac521d1139ca5ae5dfc.tar.bz2 dotfiles-05ed37125b8f0bf534faaac521d1139ca5ae5dfc.zip |
nvim: snippets to correct place
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/my_snippets/PKGBUILD.snippets | 5 | ||||
-rw-r--r-- | .config/nvim/my_snippets/latex.snippets | 5 | ||||
-rw-r--r-- | .config/nvim/my_snippets/ledger.snippets | 32 | ||||
-rw-r--r-- | .config/nvim/my_snippets/mail.snippets | 5 | ||||
-rw-r--r-- | .config/nvim/my_snippets/vimwiki.snippets | 9 |
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 | |||
3 | snippet m "Maintainer line" b | ||
4 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
5 | endsnippet | ||
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 | |||
3 | snippet on "O(n)" b | ||
4 | $\mathcal{O}(n)$ | ||
5 | endsnippet | ||
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 | |||
4 | snippet 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 | ||
8 | endsnippet | ||
9 | |||
10 | snippet 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 | ||
14 | endsnippet | ||
15 | |||
16 | snippet 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 | ||
20 | endsnippet | ||
21 | |||
22 | snippet 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 | ||
26 | endsnippet | ||
27 | |||
28 | snippet 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 | ||
32 | endsnippet | ||
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 | |||
3 | snippet ~ "signature" b | ||
4 | ~yigit | ||
5 | endsnippet | ||
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 | |||
3 | snippet link "Link a static content" b | ||
4 | {{local:/home/yigit/nextcloud/personal_wiki/html/static/${1:filename}|${2:alt text}}} | ||
5 | endsnippet | ||
6 | |||
7 | snippet on "O(n)" b | ||
8 | $\mathcal{O}(n)$ | ||
9 | endsnippet | ||