git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Add project-wide .vimrc configuration

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Dec 9, 2020, 08:52 UTC
Message-ID
<CAMP44s1vJj6QJjS8ApM_wiVunPo6093_4M-ghJB_PTqZhnmm0A@mail.gmail.com>
In-Reply-To
<xmqqh7ov2y97.fsf@gitster.c.googlers.com>
On Wed, Dec 9, 2020 at 2:13 AM Junio C Hamano <gitster@pobox.com> wrote:
Show 20 quoted lines
>
> Felipe Contreras <felipe.contreras@gmail.com> writes:
>
> >> *2* In other words, I doubt these graphs are depicting "how widely
> >> is an editor used by developers".  It is just showing how often it
> >> is installed, and I know the primary workstation I use daily has vim
> >> and nano installed without me choosing to have them, as opposed to
> >> emacs I had to manually install, and I only use vim once every month
> >> and nano once every quarter.
> >
> > Yes, but in Arch Linux at least no editor is installed by default.
>
> I thought everybody has nano not because it is adequate and usable
> for them, but because it comes by default with distros, and distro
> in turn choose nano not because it is particularly popular but is
> small enough not to matter if left behind unused when the user
> chooses a real editor.
>
> But you are essentially usaying that 80% of Arch users install nano
> by choice.  I find it doubly surprising.

I double checked. The installation instructions [1] do tell you to pick an editor, and they don't suggest any.

I am half-surprised. The StackOverflow question "How do I exit the Vim editor?" has 2.2 million views [2], there's countless memes about that ordeal [3], and the SO team even found it wise to write a blog post about it [4]. I don't know how to exit emacs (Ctrl-X Ctrl-e?), and I suspect many emacs users don't know how to exit vim.

Nano doesn't have this problem. Which means for somebody entering the world of Linux, that's a plus.

Cheers.

[1] https://wiki.archlinux.org/index.php/Installation_guide#Install_essential_packages [2] https://stackoverflow.com/questions/11828270/how-do-i-exit-the-vim-editor [3] https://twitter.com/iamdevloper/status/993821761648103425 [4] https://stackoverflow.blog/2017/05/23/stack-overflow-helping-one-million-developers-exit-vim/

-- Felipe Contreras

Previous: Junio C HamanoNext: Randall S. Becker
Message 14 of 15 in “Add project-wide .vimrc configuration”
  1. Add project-wide .vimrc configurationFelipe Contreras, Dec 9, 2020
  2. Junio C HamanoDec 9, 2020
  3. Felipe ContrerasDec 9, 2020
  4. Aaron SchrabDec 9, 2020
  5. Junio C HamanoDec 9, 2020
  6. Felipe ContrerasDec 9, 2020
  7. Denton LiuDec 9, 2020
  8. Felipe ContrerasDec 9, 2020
  9. brian m. carlsonDec 9, 2020
  10. Felipe ContrerasDec 9, 2020
  11. Junio C HamanoDec 9, 2020
  12. Felipe ContrerasDec 9, 2020
  13. Junio C HamanoDec 9, 2020
  14. Felipe ContrerasDec 9, 2020
  15. Randall S. BeckerDec 9, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.