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
This snippet is supposed to apply to visually selected text. However, I don't know how it is activated. Can you explain?
"prefix": ["\\eqlabel"],
"body": [
// Automatically generate a label from the contents of the equation, deleting any backslashes or ambersands.
"\\label{eq:${TM_SELECTED_TEXT/[\\\\&,]//g}${1/[\\\\&,]//g}$1}",
"$TM_SELECTED_TEXT$0"
],
"description": "Create an equation label that is automatically generated from the selected text."
},`
In classsical neovim or Ultisnips, you can essentially select text, then hit tab, then enter your snippet. Upon escaping, it applies the snippet.
However, I just don't understand how it can be activated in the vim mode.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This snippet is supposed to apply to visually selected text. However, I don't know how it is activated. Can you explain?
In classsical neovim or Ultisnips, you can essentially select text, then hit tab, then enter your snippet. Upon escaping, it applies the snippet.
However, I just don't understand how it can be activated in the vim mode.
Beta Was this translation helpful? Give feedback.
All reactions