I’ve looked around here and can’t find my answer. Seems like a simple question, but maybe not.
How can I set my default syntax to Markdown? Ideally, every time I open a new ST instance, the blank file before me will be Markdown, not Plain Text.
Short of that, I’d like every new file I create to automatically be a markdown file. I thought the DefaultFileType package might be what I was looking for, but no, that creates new files in the desired syntax only if they’re invoked with ctrl-n. I don’t use ctrl-n; I use the sidebar enhancement package and I’m always right-clicking in there to create new files (in my desired sub-directory) and DefaultFileType doesn’t work on those.
And short of that, if I could at least put “change this file’s syntax to markdown” on a key-binding, that would be better than nothing. But I can’t find any instrux on how to do that. This twelve-year-old thread seemed promising at first, but didn’t work. I’ve tried recording my own macro for it, but it doesn’t work (I gather that’s because it’s a window-level command?).
I’m now doing almost everything in ST using Markdown, and one of the above three functionalities would be helpful. Any hints appreciated.