Skip to the main content

Vim

Show the file name and position

CtrlG

Linux Desktop app Vim default commands

Practice this

Press Ctrl + G to show the file name and position in Vim.

Where it works: Normal mode

Every documented variant

Variants of this shortcut
System Environment Keys
Linux Desktop app CtrlG
Mac Desktop app CtrlG

Where this comes from

Vim help: index.txt - vim/vim

Documentation checked on 2026-09-14. That is a documentation review, not a test run inside the application.

Report a correction