Re: Cleaning up the buffer list

2012-07-13 Thread Vlad Irnov
On Jul 12, 10:54 pm, Chris Jones cjns1...@gmail.com wrote: On Thu, Jul 12, 2012 at 01:58:24AM EDT, Christian Brabandt wrote: On Thu, July 12, 2012 01:38, Chris Jones wrote: [..] Has anyone looked into buffer list manipulation before and could advise on a different approach suggest

Re: Cleaning up the buffer list

2012-07-13 Thread geoffrey . wood
On Friday, 13 July 2012 03:22:49 UTC+1, Chris Jones wrote: On Thu, Jul 12, 2012 at 06:34:32AM EDT, Geoff wrote: gt; You can also use :bd to unload the buffer and delete it from gt; the list once you#39;ve finished with it, to avoid leaving it gt; in the buffer list. Possibly a dangerous

Re: Cleaning up the buffer list

2012-07-13 Thread Vlad Irnov
On Jul 12, 10:54 pm, Chris Jones cjns1...@gmail.com wrote: On Thu, Jul 12, 2012 at 01:58:24AM EDT, Christian Brabandt wrote: On Thu, July 12, 2012 01:38, Chris Jones wrote: [..] Has anyone looked into buffer list manipulation before and could advise on a different approach suggest

Re: Cleaning up the buffer list

2012-07-13 Thread Chris Jones
On Fri, Jul 13, 2012 at 06:31:40AM EDT, geoffrey.w...@thomsonreuters.com wrote: [..] I'm glad you asked actually - I set hidden a couple of years ago and I definitely had a good reason at the time, but I find I'm no longer sure what it was. [..] For instance, I start making changes to a

Re: Cleaning up the buffer list

2012-07-12 Thread geoffrey . wood
On Thursday, 12 July 2012 00:38:04 UTC+1, Chris Jones wrote: I usually have a single Vim instance that stays up for weeks if not months at a time, such that I eventually have a large number of buffers as listed by the ‘:ls/:buffers’ command.. well over 100 at this point in time. Even though I

Re: Cleaning up the buffer list

2012-07-12 Thread Asis Hallab
2012/7/12 geoffrey.w...@thomsonreuters.com On Thursday, 12 July 2012 00:38:04 UTC+1, Chris Jones wrote: I usually have a single Vim instance that stays up for weeks if not months at a time, such that I eventually have a large number of buffers as listed by the ‘:ls/:buffers’ command..

Re: Cleaning up the buffer list

2012-07-12 Thread Chris Jones
On Thu, Jul 12, 2012 at 06:34:32AM EDT, geoffrey.w...@thomsonreuters.com wrote: [..] I have set hidden in my vimrc so I end up with a lot of buffers in the list. Good to know I'm not alone.. :-) Mind you, some might argue that you're not really supposed to use the :ls command at all.. so

Re: Cleaning up the buffer list

2012-07-12 Thread Chris Jones
On Thu, Jul 12, 2012 at 01:58:24AM EDT, Christian Brabandt wrote: On Thu, July 12, 2012 01:38, Chris Jones wrote: [..] Has anyone looked into buffer list manipulation before and could advise on a different approach suggest how I might be able to come up with something a bit less

Re: Cleaning up the buffer list

2012-07-11 Thread Christian Brabandt
On Thu, July 12, 2012 01:38, Chris Jones wrote: Ping's question a few hours ago reminded me of something I keep putting off. I usually have a single Vim instance that stays up for weeks if not months at a time, such that I eventually have a large number of buffers as listed by the