Reputation: 12923
How can I move the cursor to, say, position 25 on the current line?
Upvotes: 32
Views: 18720
Reputation: 59814
Enter:
024l
Explanation:
0
: move the cursor to the first character on the current line
24l
: move the cursor to the right 24 times (thereby arriving on the 25th column)
Upvotes: 18
Reputation: 15942
In normal mode, use the pipe character:
25|
will move you to column 25 on the same line
Upvotes: 77