Closed alongnice closed 2 years ago
The relevant source code is https://github.com/extrawurst/gitui/blob/006cdd63738db91e6c3074439bfd561eb0b5eb9c/src/components/externaleditor.rs#L72-L81
You have 4 options to set the editor used in gitui:
GIT_EDITOR
environment variableVISUAL
environment variableEDITOR
environment variableThis issue has been automatically marked as stale because it has not had any activity half a year. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
When I try to edit a file, I use Vim by default. But the editor I'm more familiar with is Emacs, vim is very unfamiliar, but can't find the configuration parameters to switch. If you can ask the author to add this function, I wish Gitui can do better and better.