When in an untitled document, if you click on “Plain Text” in the status bar you will be able to choose its file type. Is there a way to do it without using a mouse, like you can in Sublime Text with Cmd+Shift+P?
From the command palette (Cmd+Shift+P): “Grammar Selector: Show” then select language.
That’s exactly what I wanted to do.Thanks!
Ctrl+Shift+L Opens the dialog directly!
The exact shortcut to bring up the
Show Grammar panel is (on a mac) is
CTRL + SHIFT + L
With Sublime, you can use the command pallet (just like Atom) - and type “set ht…” (or whatever using html as an example) fuzzy search and hit return and it’s set.
ctrl+shift+l feels ok - i guess you can think of Language
cmd+shift+p -> gr -> enter -> ht -> enter
Feels a lot closer to the Sublime flow.
If you want something more similar to the Sublime Text flow, you can use my set-syntax package.
⌃ + ⇧ + L i.e.