sublimetext-stringutilities icon indicating copy to clipboard operation
sublimetext-stringutilities copied to clipboard

Key binding

Open jsinhSolanki opened this issue 6 years ago • 1 comments

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

jsinhSolanki avatar Nov 13 '18 05:11 jsinhSolanki

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" }
 ]

nikallass avatar Aug 27 '19 07:08 nikallass