开发者

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.

In Vim why is eol assigned to a key ($) to the right of the key (^) for bol?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜