I’ve been using it for a while, and “New View into File” is the one I’m using quite often.
So my question is that is it possible to have a shortcut for that?
I searched the default key binding, plugin API, but found nothing.
I’ve been using it for a while, and “New View into File” is the one I’m using quite often.
So my question is that is it possible to have a shortcut for that?
I searched the default key binding, plugin API, but found nothing.
In order to create a key binding, you need the name of a command said key binding will trigger.
The main menu is defined in Packages/Default/Main.sublime-menu. If you open that file and search for “new view into file”, you will find that that particular entry has a command “clone_file” attached to it. You can now create your key binding like so:
{ "keys": "f11"], "command": "clone_file" }