kyoobey / ProjectAndWorkspaceManagement

Project Management for Sublime Text 4
MIT License
5 stars 1 forks source link

Hotkeys? #8

Open ibc opened 1 year ago

ibc commented 1 year ago

Being inspired in https://github.com/randy3k/ProjectManager, doesn't this plugin come with hotkeys (for instance to quickly open another project in a separate window)?

kyoobey commented 1 year ago

how is "being inspired in https://github.com/randy3k/ProjectManager" relevant?

there are no default hotkeys, it is up to the user to add keybindings if they want you can modify you user keybindings file like this:

[
    { "keys": ["ctrl+x"], "command": "command_name" },
]

you can find the command names here

kyoobey commented 1 year ago

open another project in a separate window

this feature comes builtin in sublime text in the default sublime text keybindings there's this line:

    { "keys": ["ctrl+alt+p"], "command": "prompt_select_workspace" },
ibc commented 1 year ago

Well, prompt_select_workspace opens another project and closes the current one, so for me it's not valid.

I said "inspired in https://github.com/randy3k/ProjectManager" because that project comes with (at least) a hotkey, and I use it extensively:

        // Project-Manager plugin
    //   https://github.com/randy3k/Project-Manager/issues/40#issuecomment-164008220
    {
        "keys": ["super+ctrl+p"],
        "command": "project_manager", "args": {"action": "new"}
    },
kyoobey commented 1 year ago

you're right, i should've read the issue properly :P

give me some time, the next release will have a command to open workspaces in a new window