Friday, March 1, 2013

Re: can :sp borrow something from :b

On 1 March 2013 16:37, Ethan Hereth <advocateddrummer@gmail.com> wrote:
> Have you looked into the CtrlP plugin? You can use it to 'fuzzy find' files
> like you are describing and then I believe there are options to open them in
> a new split window, or tab, and probably other options.
>
> Ethan Alan

I tried similar plugins such as mini buf exp or buf explorer before
but finally returned to simple vim own commands. I felt the plugins
sometimes get in my way.

>
>
> On Fri, Mar 1, 2013 at 3:36 PM, Jim Green <student.northwestern@gmail.com>
> wrote:
>>
>> Dear list:
>> assume i have two buffers in my vim session
>>
>> 1 abc.txt
>> 2 xyz.txt
>>
>> I am currently in buffer 1 abc.txt
>>
>> I can use :b z and tab completion to open buffer 2 xyz.txt because vim is
>> smart to determine that only buffer 2 has letter z in its name
>>
>> now I want use :sp z to have the same smartness but it doesn't seem to
>> work that way. I can only sp #2 to split the second buffer.
>>
>> Could anyone share some ideas?
>>
>> Thanks!
>> Jim.
>>
>> --
>> --
>> 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
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "vim_use" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to vim_use+unsubscribe@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
> --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: