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