Will upload a patch if I get time as should be easy.
We have the key
pager in the configs. Would be nice if I could specify the editor I want to use (for viewing changes, editing changes as I am about to record, etc.). This can be specified in the environment variables, but being able to add it to the config would be nice, if not a high-priority change. A usecase is that I would like top open up the change files in my GUI text editor, rather than being stuck in the terminal, whilst leaving my editor for other work in the terminal unchanged. So simple workaround is just an alias / shell function.
You can use direnv for that - https://github.com/direnv/direnv
direnv is an extension for your shell. It augments existing shells with a new feature that can load and unload environment variables depending on the current directory.
In other words, you can overwrite
$EDITOR environment variable only for directory with your repository.