From e5f3a6f5de714554b521a24e832be2942ff25a38 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 8 Oct 2021 00:06:34 +0300 Subject: nvim: track snippets --- .vim/my-snippets/UltiSnips/PKGBUILD.snippets | 5 +++++ .vim/my-snippets/UltiSnips/latex.snippets | 5 +++++ .vim/my-snippets/UltiSnips/mail.snippets | 5 +++++ .vim/my-snippets/UltiSnips/vimwiki.snippets | 9 +++++++++ 4 files changed, 24 insertions(+) create mode 100644 .vim/my-snippets/UltiSnips/PKGBUILD.snippets create mode 100644 .vim/my-snippets/UltiSnips/latex.snippets create mode 100644 .vim/my-snippets/UltiSnips/mail.snippets create mode 100644 .vim/my-snippets/UltiSnips/vimwiki.snippets (limited to '.vim/my-snippets/UltiSnips') diff --git a/.vim/my-snippets/UltiSnips/PKGBUILD.snippets b/.vim/my-snippets/UltiSnips/PKGBUILD.snippets new file mode 100644 index 0000000..f00053f --- /dev/null +++ b/.vim/my-snippets/UltiSnips/PKGBUILD.snippets @@ -0,0 +1,5 @@ +# 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 new file mode 100644 index 0000000..fd53f4d --- /dev/null +++ b/.vim/my-snippets/UltiSnips/latex.snippets @@ -0,0 +1,5 @@ +# vim:ft=snippets: + +snippet on "O(n)" b +$\mathcal{O}(n)$ +endsnippet diff --git a/.vim/my-snippets/UltiSnips/mail.snippets b/.vim/my-snippets/UltiSnips/mail.snippets new file mode 100644 index 0000000..504b7fa --- /dev/null +++ b/.vim/my-snippets/UltiSnips/mail.snippets @@ -0,0 +1,5 @@ +# vim:ft=snippets: + +snippet ~ "signature" b +~yigit +endsnippet diff --git a/.vim/my-snippets/UltiSnips/vimwiki.snippets b/.vim/my-snippets/UltiSnips/vimwiki.snippets new file mode 100644 index 0000000..eb6f8b0 --- /dev/null +++ b/.vim/my-snippets/UltiSnips/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 -- cgit v1.2.3-70-g09d2