Re: ':buffer' and command line completion inconsistent with ':ls'

2013-09-13 Fir de Conversatie ZyX
> Ok, it makes sense. But what about the first part of my post, before > "But let us assume for a moment that this behaviour is correct"? > > There is neither buffer named '~/foobar/bar' nor '~/foobar/baz'. There > are only 'bar' and 'baz' buffers. The results returned by either ':ls' > or '' are

Re: ':buffer' and command line completion inconsistent with ':ls'

2013-09-13 Fir de Conversatie Wiktor Ruben
On Wednesday, September 11, 2013 6:36:28 PM UTC+2, ZyX wrote: > > But let us assume for a moment that this behaviour is correct. Then: > > > > > >     :buffer bar > > > > > > should display analogous results (because 'bar' is a substring in the > > > absolute path for all files). That is: > >

Re: ':buffer' and command line completion inconsistent with ':ls'

2013-09-11 Fir de Conversatie Nikolay Pavlov
On Sep 11, 2013 8:13 PM, "Wiktor Ruben" wrote: > > Hello, > > I use Vim 7.4.5. Let me start with some prerequisities: > > ~ $ mkdir foobar > ~ $ cd foobar > ~/foobar $ touch foo bar baz > ~/foobar $ vim -u NONE foo bar baz > > Now, make the observation that: > > :ls > 1 %a

':buffer' and command line completion inconsistent with ':ls'

2013-09-11 Fir de Conversatie Wiktor Ruben
Hello, I use Vim 7.4.5. Let me start with some prerequisities: ~ $ mkdir foobar ~ $ cd foobar ~/foobar $ touch foo bar baz ~/foobar $ vim -u NONE foo bar baz Now, make the observation that: :ls 1 %a "foo" line 1 2 "bar"