News for hackers. Stuff that matters.
Re:Why Should You Learn Vim in 2020 by commandlinefan on Wednesday August 05, 2020 @04:45PM (#24065403)
> vi is everywhere.

Although, surprisingly, most command-line interfaces and command-driven apps (like redis client and psql) use emacs key bindings for command history.

Re:Why Should You Learn Vim in 2020 by roi on Wednesday August 05, 2020 @04:58PM (#24065519)
Most command-line interfaces use the readline library. To switch them to vi bindings put the following in ~/.inputrc:

  set editing-mode vi
Re:Why Should You Learn Vim in 2020 by joatmon-snoo on Wednesday August 05, 2020 @04:59PM (#24065539)
This isn't a deliberate choice though on their part, is it? Isn't it just a consequence of everyone depending on readline and readline using emacs-style key bindings?
Re:Why Should You Learn Vim in 2020 by duskwuff on Wednesday August 05, 2020 @05:13PM (#24065653)
Some Emacs-style bindings, like ^W (erase word) and ^U (erase line), are baked into the UNIX tty discipline -- basic implementations of these bindings exist within the kernel.