Shortcut
Vim Go to the End of the File Shortcut
The Vim shortcut to go to the end of the file is G on Windows. It's the same on Mac.
Quick Answer
- Windows
- G
- Mac
- G
- Web
- Not confirmed yet
VimShortcut
Go to the End of the File
Moves to the very last line.
How to go to the end of the file in Vim
- Open Vim and go to where you want to go to the end of the file.
- Press G on Windows or G on Mac.
Vim Go to the End of the File Shortcut for Windows
Press G.
Vim Go to the End of the File Shortcut for Mac
Press G.
Vim Go to the End of the File Shortcut for Vim Web
We haven't confirmed a Vim Web shortcut for this yet.
Related Keyboard Shortcuts
Frequently asked questions
What is the Vim go to the end of the file shortcut?
On Windows, press G. On a Mac, press G.
Is there a Mac shortcut to go to the end of the file in Vim?
Yes: G.
Does it work in Vim for the web?
We haven't confirmed a web version shortcut for this yet.
Official source · How we verify