[TxMt] Re: Quick Q on Making key mapping file-type specific?

Rob McBroom mailinglist0 at skurfer.com
Tue Dec 21 20:09:25 UTC 2010


On Dec 21, 2010, at 12:55 PM, Ben Wilson wrote:

> You may not remember that a while back I needed some rather odd text
> competions (" => ``TM_SELECTED_TEXT$0"). The only problem is now it
> appears everywhere! That is, when I use TM to edit anything, the
> single double quote expands out. I don't need it except for Markdown
> (.md) files.
> 
> Anybody know how? Or, at least point me in the right direction?

find the command/snippet that does the quoting in the Bundle Editor. At the bottom, you should see “Scope Selector”. Put “text.html.markdown” in that field and it should only work when you're editing Markdown.

-- 
Rob McBroom
<http://www.skurfer.com/>



More information about the textmate mailing list