On Fri, Feb 15, 2002 at 12:37:32PM -0000, Rory Winston wrote:
> I have a question about Vim search patterns - I know I can combine the
> delete and search operators to delete up to but not including a fixed
> pattern by using d/patt, e.g. using d/^{ on the first line of the below
> function will delete all of it except the last line:
>> void func() {
> blah;
> }
no idea on how to answer your question, but a formatting tip: if you do:
void
func()
{
}
it makes it easier to search for functions: /^func . and yes, there are
ctags, but then there are also those days when you edit code over laggy
links with no ctags.
kevin
--
kevin at suberic.net buffy: come on, can't you put your foot down?!
fork()'ed on 37058400 giles: it *is* down.
meatspace place: orbit buffy: one of these days you're going to have to
http://suberic.net/~kevin get a grown up car. --inca mummy girl
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!