On Apr 1, 12:07 pm, Tim Chase <[email protected]> wrote:
> > I have created a couple of scratch buffers:
>
> >     :setlocal buftype=nofile
> >     :setlocal bufhidden=hide
>
> > They appear in the buffer list as:
>
> >     :ls
> >     1 %a   "[Scratch]"                    line 1
> >     5 %a   "[Scratch]"                    line 1
>
> > Is there any way of setting the name of a scratch buffer?
>
> Does the following do what you're hunting?
>
>    :file some_meaningful_name
>    :ls
>
> -tim

Hooray! Yes, thank you.
Douglas.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to