for instance I have a .zsh file that I would like to always open in sublime as a "Shell Script (bash)" file type. Currently it defaults back to a text file format even when I change and reopen it.
How to set sublime text to auto detect a file type after setting it once
file-typesublimetextsublimetext2sublimetext3
Related Topic
- Html – How to reformat HTML code using Sublime Text 2
- Git – How to make Sublime Text the default editor for Git
- How to force Sublime Text to indent two spaces per tab
- Sublime Text 2 – Show file navigation in sidebar
- How to use sidebar with the keyboard in Sublime Text 2 and 3
- Python – PEP8’s E128: continuation line under-indented for visual indent
- R – WPF: Solid color ImageSource
Best Answer
Look in the bottom right of the window.
Click the file type name. Let's assume it is 'Shell Script (Bash)'.
Notice that the first option is 'Open all with current extension as...'
Follow the obvious steps from there and you should be all set.