Bookmark specific lines down till before another specific line
Is it possible to bookmark starting from “/abc/volumes:” down till before “/def/volumes:” via command? Thanks
It is not possible to do it manually, say like selecting multiple files in Windows Explorer works.
It can be done as the result of a Mark search.
However, to get more insight, let me ask you WHY you want to do this. If we can understand this, maybe we can offer better suggestions.
Traditionally, bookmarks are used to allow a quick and easy jump to a section of your file. You can achieve this by setting ONE bookmark here, on the
/abc/volumesline. So I’m thinking maybe there is more to the story of your end goal.
Yes, that is for specific lines down to the next empty lines.
Right now, there were empty lines in between, thus need to specify to bookmark till before the next specific line instead. Thanks
As before – even though it wasn’t specifically mentioned in that other thread – you’d use the Mark command with the Bookmark Line option.
A limitation of the Mark command, though is that it is Mark All and not just “Mark next” so if you have multiple groups of lines that match the criteria below the caret, you’d get multiple ranges bookmarked.
This is what I need. Appreciate your prompt assistance, many thanks Cheer!!!.