News for hackers. Stuff that matters.
Re:Why Should You Learn Vim in 2020 by wahern on Wednesday August 05, 2020 @05:09PM (#24065615)
> Because every editor worth its salt has an option to use vim keybindings.

Including the Unix shell line editor, which typically supports both vi and emacs key bindings, and nothing else. Yet for some reason the default always seems to be emacs rather than vi, even on BSD (e.g. OpenBSD), and even though POSIX only mandates vi mode because "[t]he author of emacs requested that the POSIX emacs mode either be deleted or have a significant number of unspecified conditions."[1] Emacs line editing mode is more confusing for me as I use Joe (WordStar clone) which has emacs-like key combinations but with slightly different assignments. And because of this default I've never made a habit of using line editing commands; there's no way I can unlearn my Joe muscle memory, and over the years I've gotten into the habit of avoiding shell personalizations, to my detriment in this case.

[1] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/s...

Re:Why Should You Learn Vim in 2020 by WWLink on Wednesday August 05, 2020 @05:14PM (#24065664)
MacOS uses ctrl+a/ctrl+e EVERYWHERE (but it doesn't work well in Microsoft products, if it works at all).

I like my emacs line editing mode :D

Re:Why Should You Learn Vim in 2020 by 27182818284 on Wednesday August 05, 2020 @10:37PM (#24067653)
This is one of my favorite things about macOS.

I love that control+a and command+a have different functions. I use control+k and control+a all the time while writing comments on websites, etc. Especially since I've been mapping caps-lock to control for more than a decade.

Re:Why Should You Learn Vim in 2020 by WWLink on Saturday August 08, 2020 @03:58AM (#24089888)
It also means you can use the usual cmd+c in a terminal window. That alone makes Macs my favorite console machine lol. I mean at least Linux has ctrl+shift+c too. Windows: shift+insert? REALLY?! WTF? lol. :D