How to see the full path of the current file in vim
- By using the combination
1Ctrl-g
shows the full path of the current file (it can be seen in the bottom status line of your editor) - By using the combination
2Ctrl-g
shows the full path of the current file with the name of the buffer - By using only
Ctrl-g
(or0Ctrl-g
), you will see the name of the current file - The register showing the name of the file is the register
%