This may sound trivial but, on more than one occasion, I have found myself having forgotten which file in vim
I have open (e.g. when I am looking through different log files and such) and the only way I knew how to find out was to close the file and look in the command history for the most recent command.
Is there a command within vim to tell you which file you currently have opened without exiting the program or the file you have opened (e.g. :<which_file_cmd>
?)
vim
with so many args, use:args
. – 41754 Dec 12 '13 at 17:30