Skip to content

Feature request: clarify default editor option #1872

@zwilliams

Description

@zwilliams
  • I was not able to find an open or closed issue matching what I'm seeing

Summary

One of the first choices that needs to be made when using the Git for Windows installer concerns Git's default editor:
image

The option shown in the screenshot ("Use Vim...") results in exactly the behaviour that I would like: it leaves the core.editor option unset, causing Git to fall back the EDITOR env variable, as described here. But from the description, I had assumed that it would set core.editor=vim, so for months (or years!? however long the option to pick an editor has been in the installer...) I've been choosing nano and clearing the option by hand after installation.

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
git version 2.19.1.windows.1
cpu: x86_64
built from commit: 11a3092e18f2201acd53e45aaa006f1601b6c02a
sizeof-long: 4
sizeof-size_t: 8
  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
Microsoft Windows [Version 10.0.17134.285]
  • What options did you set as part of the installation? Or did you choose the
    defaults?
Editor Option: VIM
Custom Editor Path:
Path Option: CmdTools
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Enabled
Enable Builtin Rebase: Disabled
Enable Builtin Stash: Enabled

Details

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

Bash / MinTTY

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions