Skip to content

git: default to nano instead of vim#28202

Merged
lazka merged 1 commit intomsys2:masterfrom
lazka:git-nano
Mar 1, 2026
Merged

git: default to nano instead of vim#28202
lazka merged 1 commit intomsys2:masterfrom
lazka:git-nano

Conversation

@lazka
Copy link
Copy Markdown
Member

@lazka lazka commented Mar 1, 2026

to match what we do with cygwin git

to match what we do with cygwin git
@podsvirov
Copy link
Copy Markdown
Collaborator

Personally, I prefer vim, but if this change gets merged, I can always customize git's behavior to suit my preferences.

@lazka
Copy link
Copy Markdown
Member Author

lazka commented Mar 1, 2026

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.

@500-internal-server-error
Copy link
Copy Markdown
Contributor

Debian/Ubuntu/Fedora use nano

I've always thought MSYS2 was closer to Arch, given its use of pacman :)

@lazka
Copy link
Copy Markdown
Member Author

lazka commented Mar 1, 2026

I've always thought MSYS2 was closer to Arch, given its use of pacman :)

I'd guess Windows users are more familiar with Ubuntu though, in case they interact with WSL, or run something on a server.

@ognevny
Copy link
Copy Markdown
Collaborator

ognevny commented Mar 1, 2026

the editor can still be changed via config or $EDITOR. doesn't seem to be bad

@lazka lazka merged commit aae0c9d into msys2:master Mar 1, 2026
19 of 22 checks passed
lazka added a commit that referenced this pull request 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>
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

Successfully merging this pull request may close these issues.

5 participants