On 08/01/2011, at 13:56, H Xu wrote:
> Hello,
>
> Notice the 'titlestring' in the following link. How to make it?
> http://forum.byr.edu.cn/wForum/bbscon.php?bid=47&id=104473&ap=237
>
> Thanks!
>
> Regards,
> H Xu
> 2011/1/8
>
> --
> 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
Hello H Xu,
Try this:
-------------------------------------------------------------------------------------------------------
:let &titlestring="MacVim@" . hostname() . " [" . expand('%:t') . "] " .
getfperm(expand('%'))
-------------------------------------------------------------------------------------------------------
You can notice that using :let, you can use Vim functions to write an
expression that will translate into your title string. :help functions, and go
from there.
Best regards,
Daniel
------------------------------------------------------------
Daniel Corrêa
+55 (45) 9938.3993
http://about.me/dnlcorrea
--
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