Is there a way to define a key binding to reopen current file with another specific encoding? Say, ctrl + alt + w
to reopen current file with Windows-1251 ?
Sublime lacks success at detecting this encoding, and using File - Reopen with encoding ..
just takes too much time when I work with lots of files in Windows-1251.
Users can customize their key bindings by creating a file named Default. sublime-keymap in their Packages/User/ directory. For example, the following will create a key binding to show unsaved changes, if any exist, via Ctrl+Shift+`.
Sublime Text runs on the Windows, Mac and Linux operating systems. 32bit (x86), 64bit (x86_64) and ARM (arm64) processors are supported.
Sublime Text may be downloaded and evaluated for free, however a license must be purchased for continued use. There is currently no enforced time limit for the evaluation.
You can add this to your Preferences
> Key Bindings - User
file.
{
"keys": ["ctrl+alt+w"],
"command": "reopen", "args": {"encoding": "Cyrillic (Windows 1251)" }
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With