So, just finished the first draft of my novel. TextMate was the editor of choice this time, and things went wonderfully. I liked the find/replace in project, which allowed me to use variables until I could think of the name for something. :-) (I used a Ruby gem I modified to convert Markdown to LaTeX and then compiled into PDF. Also can independently convert the Markdown to epub. :-) I love geekness.
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?
TIA.
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.
Thanks! You beat me by five minutes. I finally dug out my TextMate book and saw the same thing. I was about to give it a test. :-) It doesn't help that I have about 100 unshelved books....
Cheers!
On Tue, Dec 21, 2010 at 3:09 PM, Rob McBroom mailinglist0@skurfer.com wrote:
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/
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Dec 21, 2010, at 3:09 PM, Rob McBroom wrote:
Put “text.html.markdown” in that field and it should only work when you're editing Markdown.
Actually, you might want to make that “text.html.markdown - markup.raw” so it won't fire inside of preformatted blocks or back-ticks.