vimvi

Display name of the current file in vim?


How do you display the filename of the file you are working on in vim?


Solution

  • :f (:file) will do same as <C-G>. :f! will give a untruncated version, if applicable.