Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Move cursor to the end of file in VIM

Answer:

To move to the end of a file in VIM, type

G

  1. Move cursor to the start of line in VIM
  2. Move cursor to the end of the line in your shell
  3. Move cursor to the end of line in VIM
  4. Quickly open to file and position a cursor with vim
  5. Move cursor to the start of the line in your shell

One Response to “Move cursor to the end of file in VIM”

  1. And to return to the beginning (AKA "move the cursor to the start"): gg

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>