All
have file with long data lines, which on screen looks like
1 A0 B0 C0 D0 E0 F0
A1 B1 C1 D1 E1 F1
A2 B2 C2 D2 E2 F2
2 G0 H0 I0 J0 K0 L0
G1 H1 I1 J1 K1 L1
....
due to wrapping.
Cursor located at A0
. I would like to jump to the end of line #1,
so cursor shall be at or after F2
. If I press End
, I'll be at F0
,
which is nice to have but not what I would expect.
Is there any good way to jump to the EOL?
After some looking around, I've got the answer - single End
key will move you to logical EOL, while hitting second End
key in succession will move cursor to the physical EOL.
Same for Home
key - single to logical, twice to physical
In vim: $ in command mode takes you to the end of the line. The pipe symbol (|) is also handy for getting you to a specific column number; e.g. 30| gets you to column number 30.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With