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

Customized keys can execute customized commands #633

Open
yorukot opened this issue Feb 20, 2025 · 0 comments
Open

Customized keys can execute customized commands #633

yorukot opened this issue Feb 20, 2025 · 0 comments
Labels
idea any new ideas or suggestions

Comments

@yorukot
Copy link
Owner

yorukot commented Feb 20, 2025

Is your feature request related to a problem? Please describe.

Currently, superfile’s keybinding system allows users to customize shortcuts for predefined actions, but it does not support executing arbitrary shell commands. This limits flexibility for users who want to integrate external tools or automate common workflows directly within Superfile.

Describe the solution you'd like
We should extend the keybinding system to allow users to map keys to arbitrary shell commands. The implementation would involve:

Adding support for command execution in the configuration file, e.g.:

"ctrl+i" = "rm -rf {file}"
"ctrl+y" = "code {folder}"
"]" = "firefox"
";" = "./someshell.sh"
@yorukot yorukot added the idea any new ideas or suggestions label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea any new ideas or suggestions
Projects
None yet
Development

No branches or pull requests

1 participant