Last Line with Cursor at the Beginning
• Shift + g ➨ If you are in normal mode then press ‘Shift + g’ , or if you are in Insert mode then press ‘Esc + Shift + g’. The ‘Esc‘ key exits you from the insert mode and shift is used to capitalize the letter ‘g‘.
Shift + g
• G (with Caps Lock on) ➨ If you have your Caps Lock ON, then simply press the ‘G’ key or if in insert mode then exit by pressing ‘Esc‘ then press G key – ‘Esc + G’
Caps Lock ON + G
• :$ ➨ First press Esc to ensure be in normal mode the type ‘:$’ and then hit enter.
:$ + Enter
• ]] (Double Square Brackets) ➨ First ensure to be in normal mode the press ‘]]’ (square brackets twice).
]]
Vim – Go to End of File
In this article you will get to know many ways to go to the end of any file opened using Vim (Vi Improved) which is a open source text editor. You will get to know what vim is and many shortcuts and key combinations in the entire article to navigate to the end of the file and after that, you can decide which is best suitable for you and which will make your workflow fast.
Contact Us