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

14 Commits

Author SHA1 Message Date
jdhao eab64cd5fb add more kbd tag snippets 2020-05-25 21:12:20 +08:00
jdhao a14558ed97 Update markdown.snippets 2020-05-25 20:31:32 +08:00
jdhao 70f02ae20f fix: time zone info is now shown
datetime.now() produces a naive datetime object which does not know tzinfo. 
So the '%z' has no effect. We need to convert it to time zone aware object using
`datetime.astimezone()`.
2020-04-17 18:06:48 +08:00
jdhao 823e09f5b6 update: improve snippets 2020-03-30 22:36:53 +08:00
jdhao a5e5c8cba4 Add detail snippet 2020-03-09 00:45:23 +08:00
jdhao 11d71865a5 Update snippets 2020-03-08 14:14:21 +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 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 0e491bf4dd Update Markdown snippets 2019-12-03 00:42:10 +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