Open tukanos opened 3 years ago
possible duplicate of https://github.com/sublimehq/sublime_text/issues/4423
Considering that this issue is significantly more descriptive I'll close the other one as a duplicate.
I'd really like this feature as well. Might even make it worth upgrading to ST4 :-)
Are there any plans including this functionality in future release? It has been more than two years already. Thank you.
Problem description
I want ST to open directly into read-only mode upon opening a file. I have opened a question on Superuser, but it appears this feature is missing for ST which is really a pity.
This should solve a workflow where I want to make sure I don't accidentally make any changes to a file running e.g. on production server. I'm aware of plugins like toggle-readonly, but that requires user interaction and can be easily forgotten.
Preferred solution
A simple switch when opening ST like
--read-only
would suffice.