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
Apologies for my ignorance but how would I go about locally changing individual snippets?
Particularly, I'd like to permanently, but locally revert 2502f24
because I much prefer the single $s for inline math mode in tex (yes I know cue in religious arguments now).
I know that I can just remove that snippet from the repo but I'd also like to occasionally update my snippets from this repo without having to edit it again each time.
I have tried copying the respective file to ~/.vim/UltiSnips/tex.snippets and changing that snippet back, but the one from the repo takes preference.
Any help would be much appreciated!
The text was updated successfully, but these errors were encountered:
I'm unsure. Best ask in the snippet plugin issue tracker for questions of plugin behaviour.
If it helps we could convert snippet to the snipmate format, I think that one is overridden by ultisnips format, which you could have in your personal snippets.
Would a second snippet with the desired format help?
To clear one or more specific snippet, provide the triggers of the snippets as
arguments to the 'clearsnippets' command. The following example will clear the
snippets 'trigger1' and 'trigger2'.
In your own ~/.vim/UltiSnips/tex.snippets file (no need to copy the full vim-snippets one):
clearsnippets $$
snippet im "Inline Math" w
$${1}$
endsnippet
I know about this feature, but always have trouble remembering what it's called! (I expect delsnippet). Maybe we should get "delete" somewhere in that documentation...
Apologies for my ignorance but how would I go about locally changing individual snippets?
Particularly, I'd like to permanently, but locally revert 2502f24
because I much prefer the single
$
s for inline math mode in tex (yes I know cue in religious arguments now).I know that I can just remove that snippet from the repo but I'd also like to occasionally update my snippets from this repo without having to edit it again each time.
I have tried copying the respective file to
~/.vim/UltiSnips/tex.snippets
and changing that snippet back, but the one from the repo takes preference.Any help would be much appreciated!
The text was updated successfully, but these errors were encountered: