1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00
Commit Graph

13 Commits

Author SHA1 Message Date
jdhao c5d6ab8f93 Update all.snippets 2019-12-24 21:45:39 +08:00
jdhao 61ac9785cd Update Markdown snippets 2019-12-22 13:47:58 +08:00
jdhao 3fdf189471 Update meta markdown snippets
The original snippet use vim interpolation and the date keeps changing while we are inside the
snippet region, which is not desired. According to https://www.youtube.com/watch?v=JJQYwt6Diro,
we can use Python interpolation and check if snip.c  is empty to see if the interpolation has been finished.
If the interpolation has finished (snip.c is empty in this condition), the date will be fixed and does not change
when we are inside the snippet region.
2019-12-21 20:48:02 +08:00
jdhao 37498210ba Update all.snippets 2019-12-20 11:45:34 +08:00
jdhao 54e03e5bfc Update markdown.snippets 2019-12-19 11:24:48 +08:00
jdhao a5be915ced Update Markdown front matter snip trigger 2019-12-19 00:53:21 +08:00
jdhao d5392b1054 Add markdown header snippets
Now we can type h1, h2, ..., h6 and press <Tab> to generate header of corresponding
level. It is more intuitive than vim-snippets's default snippets for headers, i.e., sec, ssec,
and so on.
2019-12-18 21:07:59 +08:00
jdhao 31f88c82cf Add snippet for Python 2019-12-05 10:40:29 +08:00
jdhao 0e491bf4dd Update Markdown snippets 2019-12-03 00:42:10 +08:00
jdhao eab8312aea Add LaTeX snippet 2019-09-21 00:03:38 +08:00
jdhao a28c908c66 Various small update 2019-09-16 23:59:09 +08:00
jdhao b4255e204a update snippets 2019-08-06 00:16:45 +08:00
jdhao deb3266920 Add Ultisnips snippets 2019-04-27 00:16:43 +08:00