g0 · Commands starting with 'g'
g0
Example
Normal 0 / 1Normal 1 / 1 one two Cursor on line 1, column 7 one two Cursor on line 1, column 1When 'wrap' off go to leftmost character of the current line that is on the screen; when 'wrap' on go to the leftmost character of the current screen line.
Command applied
Before & after
one two Cursor on line 1, column 7 one two Cursor on line 1, column 1Start in Normal mode. A single unwrapped line; two spaces precede and follow the words.
Details & Vim help
Example replayed in Vim
When 'wrap' off go to leftmost character of the current line that is on the screen; when 'wrap' on go to the leftmost character of the current screen line.
When 'wrap' off go to leftmost character of the current line that is on the screen; when 'wrap' on go to the leftmost character of the current screen line. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.