Is there a way to define a key binding to reopen the current file with a different specific encoding? Say ctrl + alt + w to reopen the current file using Windows-1251?
ctrl + alt + w
Sublime is unsuccessful in detecting this encoding, and using File - Reopen with encoding .. takes too much time when I work with a large number of files in Windows-1251.
File - Reopen with encoding ..
You can add this to your Preferences > Key Bindings - User file.
Preferences
Key Bindings - User
{ "keys": ["ctrl+alt+w"], "command": "reopen", "args": {"encoding": "Cyrillic (Windows 1251)" } }
Source: https://habr.com/ru/post/948707/More articles:Regular expression for limited numbers, unlimited middle dash? - javascriptCreating base_layer for ggmap not recognizing data.frame - rSubstring after the last character in xslt - xsltManually specify restrictions in Xcode 4 interfacebuilder / storyboard - iosFunc vs function in VB - lambdaDjango 1.5: access to user model model fields in models.py - djangoWhat is - (- 128) for a signed single char byte in C? - cC # Regex retrieves div content - c #PostScript source interpreter - postscripthow to add variable to eclipse startup configuration - eclipse-cdtAll Articles