1
0
mirror of https://github.com/gryf/.vim.git synced 2025-12-17 03:20:29 +01:00
Files
.vim/snippets/_.snippets
gryf c6560ce397 Exchange UltiSnips with old snipmate.
I'm not very heavy user of snippets. UltiSnips lately dropped support
for python2, yet I'm using some machines with old OSes, which complain a
lot during boostrapping my vimrc, so I was started to look for a simpler
replacement. Finally decided on a (slightly modified) original snipmate.
2020-02-18 21:19:51 +01:00

15 lines
359 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
snippet date Current date
`strftime("%Y-%m-%d")`
snippet datetime Current datetime
`strftime("%Y-%m-%d %H:%M:%S")`
snippet - a dash, used for concatenating words
snippet ~ shy, used for hyphenation hints
­
snippet fn filename
`expand("%")`
snippet fp full path
`expand("%:p")`
snippet uuid
`system("python -c 'import uuid; print(uuid.uuid4())'")`