Equivalent to g$ but go to the rightmost non-blank character instead
g<End>
Example
Normal 0 / 1Normal 1 / 1 one two Cursor on line 1, column 7 one two Cursor on line 1, column 9Equivalent to g$ but go to the rightmost non-blank character instead.
Command applied
Before & after
one two Cursor on line 1, column 7 one two Cursor on line 1, column 9Start in Normal mode. A single unwrapped line; two spaces precede and follow the words.
Details & Vim help
Example replayed in Vim
Equivalent to g$ but go to the rightmost non-blank character instead. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.