add quickstart section to README#1408
add quickstart section to README#1408eduardoarandah wants to merge 2 commits intoL3MON4D3:masterfrom
Conversation
|
Hi :) While this certainly looks useful for quickly creating snippets (and I agree that luasnips native syntax can be pretty tough :D), I feel like it's a bit too opinionated to put in the Readme. |
|
Yeah, that’s the idea, one can only have opinions after having experience which is hard as a newbie. May I suggest adding your opinionated examples instead? 😄 for simple stuff. Text and placeholder. My experience with luasnips was that at the beginning all I wanted was simple text with simple placeholders. I found only complex examples so I started using snipmate format. A thousand snippets after, I found that I could get that level of simplicity with luasnips, but it’s now too late 😄 my snippets folder is chaos and yeah. I will submit my examples to the wiki |



Using luasnips functions directly feel like a job for a compiler 😅
We are all super busy and lazy, that's why I've added a quickstart so luasnips can be used just as easy as textmate!
For example, adding
[==========[makes it super easy for the eyes to locate the "template"easy-for-the-eyes.mp4
I also added two commands:
EditLuasnipSnippetsto quickly jump to your luasnip snippetsPasteAsLuasnipSnippetto paste your clipboard content as a snippet (escaping { } signs as {{ }})See them in action:
create-snippets.mp4