Hello,

"shuda Li" wrote:

> Thank you every one!
> 
> Briefly conclude:
> 
> let filename =  expand("%:t:r").'.cpp'

Hmm.. Did you see the Alternate plugin (#31) ? And IIRC, there exist another 
plugin that does the same job.

-- 
Luc Hermitte
http://lh-vim.googlecode.com/
http://hermitte.free.fr/vim/

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to