diff options
Diffstat (limited to '.vim/my-snippets/UltiSnips')
-rw-r--r-- | .vim/my-snippets/UltiSnips/PKGBUILD.snippets | 5 | ||||
-rw-r--r-- | .vim/my-snippets/UltiSnips/latex.snippets | 5 | ||||
-rw-r--r-- | .vim/my-snippets/UltiSnips/mail.snippets | 5 | ||||
-rw-r--r-- | .vim/my-snippets/UltiSnips/vimwiki.snippets | 9 |
4 files changed, 24 insertions, 0 deletions
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 @@ | |||
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/.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 @@ | |||
1 | # vim:ft=snippets: | ||
2 | |||
3 | snippet on "O(n)" b | ||
4 | $\mathcal{O}(n)$ | ||
5 | 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 @@ | |||
1 | # vim:ft=snippets: | ||
2 | |||
3 | snippet ~ "signature" b | ||
4 | ~yigit | ||
5 | 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 @@ | |||
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 | ||