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

Configurable Default Code Editor for Text Files #359

Open
sad7766 opened this issue Sep 2, 2024 · 1 comment
Open

Configurable Default Code Editor for Text Files #359

sad7766 opened this issue Sep 2, 2024 · 1 comment
Labels
idea any new ideas or suggestions

Comments

@sad7766
Copy link

sad7766 commented Sep 2, 2024

First, I'd like to express my appreciation for the excellent work on Superfile. It's been a valuable tool in my workflow.

However, I've encountered a persistent issue over the past few months of using Superfile. Currently, when opening text files (including code files and data files like CSV), Superfile defaults to opening them in the browser. I would greatly appreciate the ability to specify my preferred code editor in the configuration file.

This would enhance the user experience by allowing seamless integration with users' preferred development environments. I've tested this behavior on both Arch Linux with Hyprland and KDE, and the issue persists across these environments.

Implementing this feature would significantly improve the flexibility and usability of Superfile for many users who prefer working with external editors.

Thank you for considering this request.

Environment details:

  • Operating Systems tested: Arch Linux
  • Desktop Environments: Hyprland, KDE
@sad7766 sad7766 added the idea any new ideas or suggestions label Sep 2, 2024
@MrPandir
Copy link

MrPandir commented Sep 2, 2024

It depends on the variable $EDITOR. I assume that your system has a browser installed in this variable.

Well, it would really be nice to have a mapping of extensions and programs to open. Example of configuration, as it is done in yazi.

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
Status: Feature
Development

No branches or pull requests

2 participants