Re:How to Exit Vim
by smabie on Wednesday January 08, 2020 @05:19PM
(#21996382)
C-a is the worst default keybinding ever, since like, going to the beginning of a line is one of the most common operations.
[ Parent
| on HN ]
Well, not with proper key bindings ;) (set -o vi)
In the rest of the universe, going to the beginning/end of the line is mapped to the Home/End keys (fn+left/fn+right on Macs), and I do prefer it when my thing does things in ways that roughly correspond to how the rest of the universe does them if there's no compelling reason to do otherwise.
> (fn+left/fn+right on Macs)
When I used Mac in 2009 to 2012 it depended on the application you were using:
Some used fn+left/fn+right, some used CMD+left/CMD+right and I think ctrl and/or alt + arrow keys were an option too.
ctrl a/ctrl e would work everywhere I think but I didn't use those as they didn't work with shift to select to the start or end of the line.
As a keyboard type of person this was a major part of what drove me away from Mac despite its many advantages :-(