From 05ed37125b8f0bf534faaac521d1139ca5ae5dfc Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 14 Oct 2021 19:15:29 +0300 Subject: nvim: snippets to correct place --- .config/nvim/my_snippets/PKGBUILD.snippets | 5 +++++ .config/nvim/my_snippets/latex.snippets | 5 +++++ .config/nvim/my_snippets/ledger.snippets | 32 ++++++++++++++++++++++++++++ .config/nvim/my_snippets/mail.snippets | 5 +++++ .config/nvim/my_snippets/vimwiki.snippets | 9 ++++++++ .vim/my-snippets/UltiSnips/PKGBUILD.snippets | 5 ----- .vim/my-snippets/UltiSnips/latex.snippets | 5 ----- .vim/my-snippets/UltiSnips/ledger.snippets | 32 ---------------------------- .vim/my-snippets/UltiSnips/mail.snippets | 5 ----- .vim/my-snippets/UltiSnips/vimwiki.snippets | 9 -------- 10 files changed, 56 insertions(+), 56 deletions(-) create mode 100644 .config/nvim/my_snippets/PKGBUILD.snippets create mode 100644 .config/nvim/my_snippets/latex.snippets create mode 100644 .config/nvim/my_snippets/ledger.snippets create mode 100644 .config/nvim/my_snippets/mail.snippets create mode 100644 .config/nvim/my_snippets/vimwiki.snippets delete mode 100644 .vim/my-snippets/UltiSnips/PKGBUILD.snippets delete mode 100644 .vim/my-snippets/UltiSnips/latex.snippets delete mode 100644 .vim/my-snippets/UltiSnips/ledger.snippets delete mode 100644 .vim/my-snippets/UltiSnips/mail.snippets delete mode 100644 .vim/my-snippets/UltiSnips/vimwiki.snippets 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 @@ +# vim:ft=snippets: + +snippet m "Maintainer line" b +# Maintainer: Yigit Sever +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 @@ +# vim:ft=snippets: + +snippet on "O(n)" b +$\mathcal{O}(n)$ +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 @@ +# vim:ft=snippets: +# vim:set noexpandtab tabstop=4 shiftwidth=4: + +snippet c "New Checking Transaction" b +${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} ${4:Payee} + Expenses:${5:} ${6:0.00} TL + Assets:Maas$0 +endsnippet + +snippet l "New Liabilities Transaction" b +${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} ${4:Payee} + Expenses:${5:} ${6:0.00} TL + Liabilities:Maximum$0 +endsnippet + +snippet a "New Asmaalti Transaction" b +${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} Asmaalti Piknik + Expenses:Food:Eating Out ${4:0.00} TL + ${5:Assets:Maas}$0 +endsnippet + +snippet y "New Yemeksepeti Transaction" b +${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} Yemeksepeti + Expenses:Takeout ${4:0.00} TL + ${5:Liabilities:Maximum}$0 +endsnippet + +snippet m "New Migros Transaction" b +${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} Migros Market + Expenses:Food:Groceries ${4:0.00} TL + ${5:Assets:Maas}$0 +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 @@ +# vim:ft=snippets: + +snippet ~ "signature" b +~yigit +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 @@ +# vim:ft=snippets: + +snippet link "Link a static content" b +{{local:/home/yigit/nextcloud/personal_wiki/html/static/${1:filename}|${2:alt text}}} +endsnippet + +snippet on "O(n)" b +$\mathcal{O}(n)$ +endsnippet diff --git a/.vim/my-snippets/UltiSnips/PKGBUILD.snippets b/.vim/my-snippets/UltiSnips/PKGBUILD.snippets deleted file mode 100644 index f00053f..0000000 --- a/.vim/my-snippets/UltiSnips/PKGBUILD.snippets +++ /dev/null @@ -1,5 +0,0 @@ -# vim:ft=snippets: - -snippet m "Maintainer line" b -# Maintainer: Yigit Sever -endsnippet diff --git a/.vim/my-snippets/UltiSnips/latex.snippets b/.vim/my-snippets/UltiSnips/latex.snippets deleted file mode 100644 index fd53f4d..0000000 --- a/.vim/my-snippets/UltiSnips/latex.snippets +++ /dev/null @@ -1,5 +0,0 @@ -# vim:ft=snippets: - -snippet on "O(n)" b -$\mathcal{O}(n)$ -endsnippet diff --git a/.vim/my-snippets/UltiSnips/ledger.snippets b/.vim/my-snippets/UltiSnips/ledger.snippets deleted file mode 100644 index a8c4eb0..0000000 --- a/.vim/my-snippets/UltiSnips/ledger.snippets +++ /dev/null @@ -1,32 +0,0 @@ -# vim:ft=snippets: -# vim:set noexpandtab tabstop=4 shiftwidth=4: - -snippet c "New Checking Transaction" b -${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} ${4:Payee} - Expenses:${5:} ${6:0.00} TL - Assets:Maas$0 -endsnippet - -snippet l "New Liabilities Transaction" b -${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} ${4:Payee} - Expenses:${5:} ${6:0.00} TL - Liabilities:Maximum$0 -endsnippet - -snippet a "New Asmaalti Transaction" b -${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} Asmaalti Piknik - Expenses:Food:Eating Out ${4:0.00} TL - ${5:Assets:Maas}$0 -endsnippet - -snippet y "New Yemeksepeti Transaction" b -${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} Yemeksepeti - Expenses:Takeout ${4:0.00} TL - ${5:Liabilities:Maximum}$0 -endsnippet - -snippet m "New Migros Transaction" b -${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} Migros Market - Expenses:Food:Groceries ${4:0.00} TL - ${5:Assets:Maas}$0 -endsnippet diff --git a/.vim/my-snippets/UltiSnips/mail.snippets b/.vim/my-snippets/UltiSnips/mail.snippets deleted file mode 100644 index 504b7fa..0000000 --- a/.vim/my-snippets/UltiSnips/mail.snippets +++ /dev/null @@ -1,5 +0,0 @@ -# vim:ft=snippets: - -snippet ~ "signature" b -~yigit -endsnippet diff --git a/.vim/my-snippets/UltiSnips/vimwiki.snippets b/.vim/my-snippets/UltiSnips/vimwiki.snippets deleted file mode 100644 index eb6f8b0..0000000 --- a/.vim/my-snippets/UltiSnips/vimwiki.snippets +++ /dev/null @@ -1,9 +0,0 @@ -# vim:ft=snippets: - -snippet link "Link a static content" b -{{local:/home/yigit/nextcloud/personal_wiki/html/static/${1:filename}|${2:alt text}}} -endsnippet - -snippet on "O(n)" b -$\mathcal{O}(n)$ -endsnippet -- cgit v1.2.3-70-g09d2