Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

我知道如何一般在命令模式中移动,特别是跳到线路等。但是跳到我目前所在线路末端的命令是什么?

  ask by salt.racer translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
284 views
Welcome To Ask or Share your Answers For Others

1 Answer

Just the $ (dollar sign) key.

(只需$ (美元符号)键。)

You can use A to move to the end of the line and switch to editing mode (Append).

(您可以使用A移动到行尾并切换到编辑模式(追加)。)

To jump the last non-blank character, you can press g then _ keys.

(要跳过最后一个非空白字符,可以按g然后按_键。)

The opposite of A is I (Insert mode at beginning of line), as an aside.

(A的反面是I (行开头的插入模式),旁边。)

Pressing just the ^ will place your cursor at the beginning of the line.

(只按^会将光标放在行的开头。)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...