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 (or 0Ctrl-g), you will see the name of the current file
  • The register showing the name of the file is the register %
Slavisa Jovanovic
Slavisa Jovanovic
Associate Professor (Maitre de conférence HDR)

My research interests include circuits and systems for AI and energy harvesting circuits.