On 8/7/06, Kim Schulz <[EMAIL PROTECTED]> wrote:
hi Is there an easy way to get only the basename (filename) without the path when using bufname()??I am using it for a guitablabel and have tried with let label = bufname(i-1); let filename = expand("".label.":h") but that does not work. so what is the correct way ? -- Kim Schulz | Private : http://www.schulz.dk [EMAIL PROTECTED] | Business: http://www.devteam.dk +45 5190 4262 | Sparetime: http://www.fundanemt.com
:help fnamemodify()