Wednesday, November 24, 2010

:ls with regular expression

Hi folks,
I am an heavy user of vim (console mode), and loves to open many buffers. I refrain from using tabs or the buffer explorer plugin as it takes precious screen space. Just navigating with :b* and:ls is great.
One small issue though, sometimes I would like to do :ls with a regular expression. For example, I want :ls to show me all the chan*.c file. This is not possible with the current ls implementation, and trying to open such a buffer with :b just complains that there is more than one choice.
Is there a workaround to this problem (either through :b or :ls)?

Many thanks,
Eran.

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

No comments:

Post a Comment