patrakov•
  1. vi is not vim
  2. Around the same time, micro was released, but this is not enough to explain the sharp decline
  3. Around the same time, the base package (instead of the base group) was introduced

See https://pkgstats.archlinux.de/compare/packages#packages=base,micro,nano,neovim,vi,vim as an illustration for the 3rd item.

21
TopDownTom•

Yep, not to mention the popularity of nvim.

11
plg94•

Interestingly enough, both vim and neovim seem to get the same rise (see sibling comment).

1
pyfischOP•
  1. Sorry, for not including vim in the graph. Same thing but with vim: https://pkgstats.archlinux.de/compare/packages#packages=emacs,gedit,kate,kwrite,mousepad,nano,neovim,vi,vim
  2. If micro is popular most people don't install it as a package: https://pkgstats.archlinux.de/compare/packages#packages=micro,micro-bin,micro-git,micro-nightly-bin
  3. The introduction of the base package is most likely the reason. (base group included both nano and vi). There is a sharp decline in editor installations at the same time when the base package is installed more: https://pkgstats.archlinux.de/compare/packages#packages=base,nano,vi

Thanks for figuring this out. :-)

3
TopDownTom•

Yep, looks like base is the "cause" of this apparent decline, neat.

3
guildem•

Since the base group was replaced by the base meta package, vi and nano aren't installed anymore by default. The only editor I have on my hosts is vim. This would explain a drop.

8
TDplay•

https://archlinux.org/news/base-group-replaced-by-mandatory-base-package-manual-intervention-required/

2019 saw the replacement of base group with a metapackage. Due to the nature of metapackages (you can't uninstall individual components like groups), the kernel and text editors were removed and it is now on the user to install them.

While base was a group, this meant most users just installed all of it, including vi and nano, unless they explicitly didn't. Now that it's a metapackage that doesn't depend on any text editors, users install only what the want - which means that {,neo}vim is going to be installed instead of vi, and nano is also going to see a reduced userbase.

Note also how nano's decline is less steep than vi's. People who only do light text editing will still install nano, but vi is essentially obsolete due to {,neo}vim.

5
pyfischOP•

The installation statistics for text editors are mostly constant according to pkgstats. However since mid-2019 the two most popular editors vi and nano started to decline. I don't see any obvious reason since no other text editor in the comparison gained significantly in popularity.

Any guesses to why these two text editors are installed less often?

1
lovellylols•

These percentages are not cumulative, if one drops, it doesn't mean that some other packages % increases. After introducing the base package people just didn't install packages they wouldn't use (nano/vi).

3
francie00•

since no other text editor in the comparison gained significantly in popularity

A part from neovim and vim..

1