-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement: Add nano as a choice of editor(s) for git-commit because vim increases what we have to tell to beginners #1224
Comments
This is related to #291. As you can see by the age of that ticket, help is desperately needed. |
Please at least ship nano |
Sorry for very late reply, but anyway I'd like you to bundle nano, not only Vim, with Git for Windows. The difference from #291 is that an easier to learn editor than Vim that works on CUI should be also available as editors in Git Bash. |
And NotePad++, of course. And VS Code. And... |
Atom should be added as a GUI editor because it is developed by GitHub, but I'm not talking about GUI editors but CUI editors on this issue. |
Nano is a unix application and usually requires a setup like msys. Which is basically shipped by git. |
@tats-u and VS Code is a GUI editor that is developed by Microsoft, so that should be included as well? My comment about NotePad++ was actually intended to show the problem with including even one more editor: there would always be users hating that choice and resenting that their favourite editor was not included. This is a discussion (or if you want, a flame war) for which I seriously lack the time and motivation.
@TheOneRing it is really easy to ask an overworked maintainer for new features. It is a bit more involved, and infinitely more rewarding, to add such a feature via a Pull Request. Assuming that you are not one of those who ask and vanish when being asked back, here are the steps:
|
@dscho I'm sorry. it is not very import who develops editors for this issue. I wanted to say Atom has strong relationship with Git as well as VSCode does. They have the same priority because they are both modern, free, popular, and cross-platform, and deeply concerned with Git. I think that the more editors are supported, the better it is. Is it correct that how to support for not only beginner-friendly CUI editor(s), which I want to be mostly improved, but also GUI editors are discussed here? |
Atom, Notepad++, VSCode already come as Windows-Installers and are easy to install even by beginners. However it is very difficult to install Nano in an existing installation of "Git for Windows" and even more error prone to make it work in "Git Bash". Shipping the msys2 build of nano with the "Git for Windows" is the superior solution, especially as it only needs 2.3 MiB space once installed and the size of the installer is only increased by ~100 KiB. Please consider my PR git-for-windows/build-extra#161 for inclusion in the next release. |
Setup
defaults?
to the issue you're seeing?
None
Details
Bash
Minimal, Complete, and Verifiable example
this will help us understand the issue.
Nano begins running
URL to that repository to help us with testing?
None
You adopts Vim as the default and only text editor in Git for Windows. I think Vim is the best CUI editor as long as you are familiar with how to use it, but it is not easy for beginners to use because commands of it are hidden, and different from other editors that are available in Windows. Therefore, it increases what we have to tell to Windows users who have not used Git and CUI, and who you want to join in projects that adopt Git as the version management system. Basic commands of Nano, unlike those of Vim, are shown in terminal and beginners can edit commit messages of Git without googling or seeing help. To say more specifically, what you have to do to git-commit in Nano are typing
git commit
, writing commit message, and pressing Ctrl+O, Enter, and Ctrl+X, which are shown in the bottom of the screen. Beginners who have not used Vim must not known it is pressing the keyI
orShift-O
what they have to do first to git-commit in Vim. Furthermore, Ubuntu adopts Nano, not Vim, as the default editor. I want you to enable who are installing Git in Windows to choose not only Vim but also Nano as the text editor to, for example, git-commit in, for example, the installation wizard for the above reasons.The text was updated successfully, but these errors were encountered: