Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard shortcuts customization #153

Closed
zalmanlew opened this issue May 19, 2019 · 3 comments
Closed

Keyboard shortcuts customization #153

zalmanlew opened this issue May 19, 2019 · 3 comments
Labels

Comments

@zalmanlew
Copy link

I want to be able to easily Destroy Files.

Currently, I have to click ** Actions → Destroy File(s)...** and then do it.

I was wondering if there was a way to assign it a keyboard shortcut.

Also, it'd be nice if it had it's own button on top which could be enabled/disabled.

@derceg
Copy link
Owner

derceg commented Oct 17, 2019

There is in the latest development build.

Follow the steps shown in Plugins/Readme.txt to run Explorer++ with plugin support. In this case, you'd want to copy the update_accelerators folder into the plugins directory. You could then update plugin.json to add whatever keyboard shortcuts you like for the main menu items. You can find a list of the available menu items in AcceleratorMappings.h.

If you want to add a shortcut key for the destroy files menu item, you'd add something like the following json:

"shortcut_keys": [
  {
    "command": "destroy_files",
    "keys": [
      "Alt+Shift+D"
    ]
  }
]

This functionality was only added very recently, so there's no documentation just yet.

@zalmanlew
Copy link
Author

@derceg that's awesome, thanks a lot!

Is there any documentation or list on what string corresponds to which key and how I need to write them? I tried adding using Ctrl and Control and that didn't work.

@derceg
Copy link
Owner

derceg commented Sep 6, 2024

This work is now tracked in #476. There's some tasks I've added there about documentation for the plugins functionality.

@derceg derceg closed this as not planned Won't fix, can't repro, duplicate, stale Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants