git: default to nano instead of vim#28202
Merged
lazka merged 1 commit intomsys2:masterfrom Mar 1, 2026
Merged
Conversation
to match what we do with cygwin git
Collaborator
|
Personally, I prefer vim, but if this change gets merged, I can always customize git's behavior to suit my preferences. |
Member
Author
|
The reasoning is the same as with the cygwin change. Debian/Ubuntu/Fedora use nano, so users are use to that, and it's easier for beginners, while it's easy for vim users to adjust things. |
Contributor
I've always thought MSYS2 was closer to Arch, given its use of pacman :) |
Member
Author
I'd guess Windows users are more familiar with Ubuntu though, in case they interact with WSL, or run something on a server. |
Collaborator
|
the editor can still be changed via config or |
dscho
reviewed
Mar 11, 2026
dscho
added a commit
to git-for-windows/MINGW-packages
that referenced
this pull request
Mar 24, 2026
to match what we do with cygwin git (Fixed indentation) Cherry-picked-from-MSYS2: aae0c9d (git: default to nano instead of vim (msys2#28202), 2026-03-01) Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
dscho
added a commit
to git-for-windows/MINGW-packages
that referenced
this pull request
Mar 24, 2026
as suggested in msys2#28202 Cherry-picked-from-MSYS2: d3ff7a1 (git: allow _DEFAULT_EDITOR override, 2026-03-11) Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
to match what we do with cygwin git