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

Feature request: Open block in external editor #306

Open
svandragt opened this issue Feb 19, 2025 · 2 comments
Open

Feature request: Open block in external editor #306

svandragt opened this issue Feb 19, 2025 · 2 comments

Comments

@svandragt
Copy link

svandragt commented Feb 19, 2025

Have you searched existing Github issues to see if someone has already requested this feature?
Yes

Is your feature request related to a problem? Please describe.
Sometimes I want to manipulate text in my main text editor because it has more features that HeyNote does not (join/split lines, multiple cursor selection, remove duplicate lines, sorting, search / replace, things like this).

Describe the solution you'd like
A shortcut that opens the block in my text editor (for example by saving it to a temporary language appropriate filename and opening the default application for that, or whatever you think best). I don't need to set the editor in the preferences, I think? After saving the file in the editor, heynote would update the block with the updated content, similar to how crontab -e works.

Describe alternatives you've considered

  1. Script a macro that selects the block's content and saves this into a file and opening it, and figure out how to copy the text back into HeyNote.
  2. Edit the scratch.txt file directly in another editor and make sure the content is in there. (would lose support for the block concept, and potentially invalidate the structure of the file.

Thanks for your consideration.

@heyman
Copy link
Owner

heyman commented Feb 20, 2025

Hi!

I can see that this could be a useful feature. However, it still feels like a bit of an edge case, and the complexity required to implement it in a way that plays nice with the rest of the codebase makes me think that the benefit don't outweigh the drawbacks.

I'd much rather implement/improve editing functionality of Heynote i order to hopefully remove the need to use an external editor. Multiple cursors already exist in Heynote (Cmd+Up/Down, Cmd-d with some text selected to select the next occurence, Opt+Click)

@svandragt
Copy link
Author

Yeah that would be great and thanks for letting me know about those new features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants