Skip to content

Using backtick key for hyersnips expansion #19

Answered by sleepymalc
TryerGit asked this question in Q&A
Discussion options

You must be logged in to vote

If you're sure that this auto closing will only be triggered in normal scope (non-math), you can implement it in Hypersnips and define a new scope function called normal which return the negation of math(), and use it for your new snippet defined in Hypersnips as

context normal(context)
snippet ` "auto-closing" iA
`$1' $0
endsnippet

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@TryerGit
Comment options

@sleepymalc
Comment options

Answer selected by TryerGit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants