News for hackers. Stuff that matters.
Re:Why Should You Learn Vim in 2020 by vmladenov on Wednesday August 05, 2020 @05:32PM (#24065855)
On macOS a majority of UI text fields support readline bindings (^A, ^E, etc) which is really nice
Re:Why Should You Learn Vim in 2020 by jolmg on Wednesday August 05, 2020 @07:03PM (#24066569)
> support readline bindings (^A, ^E, etc.)

Those are emacs bindings. Readline uses emacs bindings by default, but it can also use vi bindings.

Unless you mean that it uses readline and so configuring it (i.e. ~/.inputrc) allows you to change the keybindings of macOS UI text fields. That'd be cool if it's the case.

Re:Why Should You Learn Vim in 2020 by yodsanklai on Wednesday August 05, 2020 @06:04PM (#24066124)
I have a big issue with these bindings: there is no "right" ctrl on my MBP keyboard. If you touch type, I find ^A very cumbersome to type. I find it easier to use mac os default (cmd + arrow) which also opens variants such as option + arrow, shift + option + arrow. The only readline binding I do use is ^K (not as bad as ^A because k is on the right side of the keyboard, and there is no alternative anyway).