## How to modify or remove snippet?

### How to modify or remove snippet?

I have a problem when editing LaTeX. I want to write the following, so I type "begin<tab>Theorem<tab>".
Code: Select all
\begin{Theorem}    <move caret here>\end{Theorem}
However, the emphasize snippet kicks in, and writes out
Code: Select all
\begin{Theor\emph{} }   \end{Theor\emph{} }
This is obviously not what I want. Ideally, the emphasize snippet shouldn't react there. But how could it know that? The easiest way for me to fix this is to delete Emphasize.sublime-snippet, or to edit it and change the binding from "em" to, say, "emph". Sublime replaces this file upon startup though, so deleting it does not work, and editing it and making it readonly causes Sublime to crash upon startup.

How do I fix this?
Eighty

Posts: 3
Joined: Sun Feb 21, 2010 4:17 pm

### Re: How to modify or remove snippet?

Shoozza

Posts: 7
Joined: Wed Mar 24, 2010 4:11 pm

### Re: How to modify or remove snippet?

I didn't find a solution in that thread. I would rather just remove the snippet than change the functionality. How can I do that?

Edit: Hehe, here's my hacky solution. I made my own User snippet, which as soon as it runs deletes the emph snippet.
Eighty

Posts: 3
Joined: Sun Feb 21, 2010 4:17 pm