Is there a way to easily get the name of the file that is being edited
in the active buffer? Something that can be used in vim scripts, etc.
Thanks,
Andy
The @% register, and also "cmdline special character" %, which can be
used in scripts with expand("%"), or expand("%:p") etc. with modifiers.