In sam if I invoke ,x g//+-p sam prints out the hits in the sam window
by lines. I was wondering if there is a way of going from any of those search
results directly to the line in the document where the string occurs?
--
9fans: 9fans
Permalink:
https:
I occasionally do (in acme, sam MMV)
,x/open/+-{
p
}
It separates the match from the address by a newline, but works well enough
for my needs.
On Mon, Aug 2, 2021 at 9:39 AM wrote:
> In sam if I invoke ,x g//+-p sam prints out the hits in the sam
> window by lines. I was wondering if there is
On Mon, 2 Aug 2021, 6:39 pm , wrote:
> In sam if I invoke ,x g//+-p sam prints out the hits in the sam
> window by lines. I was wondering if there is a way of going from any of
> those search results directly to the line in the document where the string
> occurs?
>
Combine the p with an =.
Mark
On Monday, 2 August 2021, at 6:48 PM, Paul Lalonde wrote:
> I occasionally do (in acme, sam MMV)
> ,x/open/+-{
> p
> }
This works. Thanks.
--
9fans: 9fans
Permalink:
https://9fans.topicbox.com/groups/9fans/T6d4564e82d943342-M34b7a267df5b9586d22eff2e
Deliver
On Monday, 2 August 2021, at 6:50 PM, Mark van Atten wrote:
> Combine the p with an =.
If I add = to ,x g//+-p as in ,x g//+-p= I get a ?newline
expected error.
--
9fans: 9fans
Permalink:
https://9fans.topicbox.com/groups/9fans/T6d4564e82d943342-Mc36c6bb21
On 2 Aug 2021, at 17:47, Paul Lalonde
mailto:paul.a.lalo...@gmail.com>> wrote:
I occasionally do (in acme, sam MMV)
,x/open/+-{
p
}
For only a few results I’ve found simply ,x//= and then sending the
results good enough, especially Acme where the plumber lets you jump to the
result.
Sending d
On Mon, 2 Aug 2021, 7:20 pm , wrote:
> On Monday, 2 August 2021, at 6:50 PM, Mark van Atten wrote:
>
> Combine the p with an =.
>
> If I add = to ,x g//+-p as in ,x g//+-p= I get a ?newline
> expected error.
>
man sam
--
9fans: 9fans
Permalink:
https://9
On Mon, 2 Aug 2021, 7:22 pm silas poulson, wrote:
>
> Sending document to grep with ,> grep -n slightly neater though
> does mean leaving sam’s command set.
>
I usually have a 9term open with the same working directory as the document
I am editing, and tend to use that for things outside sam's
On Monday, 2 August 2021, at 7:48 PM, Mark van Atten wrote:
> man sam
I have read the man page several times. It speaks of display commands not of
their combinations.
--
9fans: 9fans
Permalink:
https://9fans.topicbox.com/groups/9fans/T6d4564e82d943342-Mcaf
On Mon, 2 Aug 2021, 9:00 pm , wrote:
> On Monday, 2 August 2021, at 7:48 PM, Mark van Atten wrote:
>
> man sam
>
> I have read the man page several times. It speaks of display commands not
> of their combinations.
>
Look for the part about 'grouping'.
--
On Monday, 2 August 2021, at 9:05 PM, Mark van Atten wrote:
> Look for the part about 'grouping'.
Okay. Got it. Thanks. This gives me what I need:
,x g//{
p
}
--
9fans: 9fans
Permalink:
https://9fans.topicbox.com/groups/9fans/T6d4564e82d943342-Mb69acabb528b
11 matches
Mail list logo