You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know how much work it would need, but it could be nice to be able to set multiple cursors positions and jumping through them, similar to how we can do that with snippets. Something like {{_cursor$n_}} ( {{_cursor$1_}}, {{_cursor$2_}}, ..)
My use case is that I want to use a template for some blog posts, and to quickly iterator through some metadata. Ideally, I prefer to not rely on snippets for that as it concern the creation of a new file only.
If anyone is interest, a quick workaround using macro:
put some characters that you can search in your template ($$ for example)
search for this character through # or
record a macro that go to the next occurrence and enter insert mode, example with a macro set to q : qqnciw<C-o>q
The text was updated successfully, but these errors were encountered:
I don't know how much work it would need, but it could be nice to be able to set multiple cursors positions and jumping through them, similar to how we can do that with snippets. Something like
{{_cursor$n_}}
({{_cursor$1_}}
,{{_cursor$2_}}
, ..)My use case is that I want to use a template for some blog posts, and to quickly iterator through some metadata. Ideally, I prefer to not rely on snippets for that as it concern the creation of a new file only.
If anyone is interest, a quick workaround using macro:
$$
for example)#
orq
:qqnciw<C-o>q
The text was updated successfully, but these errors were encountered: