Search notes:
vim script: expand
:echo expand('%') :echo expand('##')
See also
Vim: built in functions
Index