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

Add VISUAL support #9

Open
ikalnytskyi opened this issue Dec 26, 2022 · 0 comments
Open

Add VISUAL support #9

ikalnytskyi opened this issue Dec 26, 2022 · 0 comments

Comments

@ikalnytskyi
Copy link
Owner

The 'edit' command uses the 'EDITOR' environment variable to choose the text editor to edit the metadata in. Most software in the wild actually probe 'VISUAL' first before falling back to 'EDITOR'. It'd be nice to behave the same.

See git implementation for reference https://github.com/git/git/blob/c48035d29b4e524aed3a32f0403676f0d9128863/editor.c#L18-L37

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

1 participant