Sunday, February 19, 2012

Re: Like :ls but in an interactive list

On Sun, Feb 19, 2012 at 10:01:03AM +0100, Alejandro Exojo wrote:
> Hi.
>
> I've tried several plugins for changing open buffers, but I always go back to
> Vim's native functionality.
>
> There is just one thing of the built-in behavior that I would like to change
> or replace. When I run ":ls", Vim outputs a stream with the information I
> want, but as soon as you start typing it disappears. This is inconvenient if
> you have many open buffers because you have to commit to memory the number or
> you have to type again the ":ls".

This doesn't sound right. If I type ':ls' and press enter, and then type
a ':' (without an enter in between) the list is still there.

> I would like to know which would be the best approach (plugin, custom
> function, etc.) to make this output an interactive list in which you can type
> the buffer number you want to change to. That is, that if you start typing, the
> list doesn't disappear.
>
> I don't know the name of this Vim "interface", but is the one that uses the
> spell checking system when you use "z=" and there is more than one choice.
> I've seen plugins make use of this system, so I guess is possible.
>
> Any ideas?
> Thank you very much.
>
> --
> Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
> http://barnacity.net/ | http://disperso.net
>
> --
> 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

--
Albin Olsson | albin.olsson@gmail.com | +46 707 831 830
Use http://www.albinolsson.se/publickey.asc to verify my identity.

No comments: