### Describe the feature or problem you’d like to solve I there any way to configure a default editor? My default editor is vim, but `gh` is still using nano. ### Proposed solution A configuration option to choose default editor like git.` ``` gh config editor "vim" ```
Activity
vilmibm commentedon Feb 12, 2020
👋
ghrespectsGITHUB_EDITOR,EDITOR, andVISUALenvironment variables in that order. are those defined?safv12 commentedon Feb 12, 2020
The variables were not configured.
I configured them and I can already use vim as editor.
Thanks @vilmibm.
billygriffin commentedon Feb 12, 2020
Thanks @safv12! We also have a documentation task in #308, so I'm going to close this. Appreciate the issue!
jonathantneal commentedon Mar 26, 2020
If it helps others,
ghdoes not respectGITHUB_EDITORat the time of this writing.ghdoes respectGIT_EDITOR,VISUAL, andEDITOR, which follows thegitdocumentation at https://www.git-scm.com/book/en/v2/Git-Internals-Environment-Variables.This list is also available in the
ghmanual at https://cli.github.com/manual/installation#setting-an-editor