vim show file location code example Example: vim display the path Pressing 1 followed by Ctrl+G shows the full path of the current file.