akalongman / sublimetext-stringutilities

Sublime Text 2/3 plugin for string manipulations
MIT License
83 stars 24 forks source link

Key binding #49

Open jsinhSolanki opened 5 years ago

jsinhSolanki commented 5 years ago

How can I convert chars to html entities using key combination?? e.g. Ctr + c

nikallass commented 5 years ago

You can do the following:

  1. Go to "Menu->Preferences->Browse packages..."
  2. Find the directory of the interested package.
  3. Find file with ".sublime-commands" extension.
  4. Get command name from file.
  5. Use "Menu->Preferences->Key bindings" for add key binding.

Ex (StringUtilities):

 [
        { "keys": ["ctrl+b"], "command": "convert_to_base64" },
        { "keys": ["ctrl+shift+b"], "command": "convert_from_base64" },
        { "keys": ["ctrl+u"], "command": "url_encode" },
        { "keys": ["ctrl+shift+u"], "command": "url_decode" }
    ]