Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to view full path of file in Vim

📅 2014-Feb-13 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ path, vim ⬩ 📚 Archive

By default, Vim only shows the filename of the currently open file in the status line and the command line below it. Sometimes, you might want to view the full path of the file. To do that, press 1 followed by Ctrl-G. The full path of the file is displayed in the command line at the bottom.

Tried with: Vim 7.3 and Ubuntu 12.04 LTS