Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: rbowman Newsgroups: comp.os.linux.misc Subject: Re: =?UTF-8?B?SeKAmW0=?= A Linux Expert, And Here Are 6 Commands I =?UTF-8?B?Q2Fu4oCZdA==?= Live Without Date: 17 Aug 2025 07:18:08 GMT Lines: 24 Message-ID: References: <107gp14$3ko4l$1@dont-email.me> <107louk$p5vg$4@dont-email.me> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net LJkd7/DJ5Mi4YXPagdKeSAcn2VJAbCQpcJFqKaxmUBZ/JRAqYv Cancel-Lock: sha1:lHB40DRfkgzjrWwsmOxTapUB+u0= sha256:kZ2VNKbK8oN4d5r0eiDTJwD2MYv4NHLizkYcSEG3kUw= User-Agent: Pan/0.162 (Pokrosvk) Xref: csiph.com comp.os.linux.misc:71469 On Sat, 16 Aug 2025 17:04:33 GMT, Charlie Gibbs wrote: > On 2025-08-16, rbowman wrote: > >> I've used Vim for years, have the Vim book, and know I use about 1% of >> its capabilities. If I stray from my trails, like trying to show line >> numbers, >> I have to look it up. I know I can do a horizontal split but I only do >> vertical splits so I'd have to look that up too. > > Occasionally I'll find I have enough use for something to take the time > to learn it. My most recent one with vim is /\, which finds "foo" > only if it's an entire word (like grep's -w option). I've used that for a long time. It's an easy one to remember. * on a word searches for the word. If you look at the bottom you'll see /\ if that's what the * search was. That only seems to work if there is more than one. else if (strcmp(el, "ele") == 0) { If I search on \ it finds it. Using * says 'search hit BOTTOM, continuing at TOP ' In any case it doesn't find last_elevation, ele_text, elevation, min_elevation and so forth that /ele does.