diff options
author | Yigit Sever | 2021-10-08 00:06:34 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-08 00:06:34 +0300 |
commit | e5f3a6f5de714554b521a24e832be2942ff25a38 (patch) | |
tree | 2b1dbebc0d3d24693e4a9fec5199d7190a59e845 | |
parent | 75d6e605a64d2f862942afb57f1ff5668d60ae52 (diff) | |
download | dotfiles-e5f3a6f5de714554b521a24e832be2942ff25a38.tar.gz dotfiles-e5f3a6f5de714554b521a24e832be2942ff25a38.tar.bz2 dotfiles-e5f3a6f5de714554b521a24e832be2942ff25a38.zip |
nvim: track snippets
-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 | ||