How do you move the cursor to the end of the line in vi?

Kim Trang

New member
How do you move the cursor to the end of the line in vi?
Answer
Press $ to move the cursor to the end of the current line.
  • Moving Down One Line. Press the Return key to move the cursor to the beginning of the next line down.
  • Moving Left.
  • Moving Right.
  • Moving to the Top.
  • Moving to the Middle.
  • Moving to the Bottom.
  • Page Forward One Screen.
  • Scroll Forward One-Half Screen.
 

Tìm kiếm

Back
Top