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. Quickly open to file and position a cursor with vim
  2. Move a directory in a subversion repository
  3. Move a long running job to background
  4. Determine file type using the file command
  5. Rename file in Linux

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>