I've installed the Hex Viewer package on sublime text 3, to toggle it i use ctrl+shift+p to open the command palette, then i search for "hex" and select the command of the package to toggle the hex view.
I was wondering how to bind a key to the specific package command, I'm aware of the key bindings configuration file but I don't know what JSON line should I add to call the package command.
This is my first question on stackoverflow, sorry if I did something wrong, have a nice day!
EDIT: This is the github of the package: https://github.com/facelessuser/HexViewer It says:
There are 10 commands available via the command palette or by key-bindings.
This is the one I should like to bind
Hex Viewer: Toggle Hex View
And this is the string I've tried to paste on the key-bindings JSON file:
{"keys":["ctrl+shift+h"] , "command":"Hex Viewer: Toggle Hex View"}