In Vim why is eol assigned to a key ($) to the right of the key (^) for bol?
Is there a logical reason why eol ($) is assigned to a key which is to the left of the key (^) bol?
Physically speaking "eol" is on the right and "bol" is on the left, would it not make more sense for the key maps to be reversed to ma开发者_如何学Ctch what is on screen?
I'm really asking why the key mapping is this way round, I must be missing something...
In regex, ^
matches the start of a string and $
matches the end of the string.
By chance, it makes perfect sense on a French keyboard layout.
^
and $
are right next Enter
, and they are respectively left and right.
So you might want to switch to French keyboard layout. :)
Physically speaking "eol" is on the right and "bol" is on the left
There are languages that go from right to left. Your above statement would not be true for those.
精彩评论