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

24 Commits

Author SHA1 Message Date
jdhao
9d8a58be17 update markdown snippet 2022-08-21 11:47:03 +08:00
jdhao
a0179d01c1 add new markdown snippet 2022-03-05 22:15:02 +08:00
jdhao
ec6549948a update Markdown snippet 2022-02-11 21:11:27 +08:00
jdhao
aa0cf40591 update Markdown snippets 2022-02-08 23:13:10 +08:00
jdhao
9adc3fdf16 remove double quotes for snippet trigger 2021-12-23 22:41:16 +08:00
jdhao
e2a8687e48 update markdown snippets 2021-10-23 01:14:09 +08:00
jdhao
12bc009d2d Add「直角引号」for Markdown
「」is useful when writing post in Chinese.
2021-02-21 22:50:27 +08:00
jdhao
c81d148627 Update markdown snippets 2021-01-13 22:55:20 +08:00
jdhao
04ede68669 update markdown snippets 2020-11-15 20:19:10 +08:00
jdhao
649f5b93eb add HTML font tag for Markdown 2020-08-30 03:35:14 +08:00
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