When I do package-list-packages
and I’m searching for a package, the search is not restricted to the package names, but searches the descriptions as well, and this requires scrolling down before starting the search.
Can the search be restricted to the column with the names?
just add two spaces at the beginning the search string
Clever🙂, but doesn’t generalize to other documents.
Is there a command to select a range of characters on a line and extend it as a column to the end of the buffer or narrowed region without scrolling down to mark the actual area?
Not sure because i cant try it now, but how about narrowing to a rectangular selection, which is the package list column and using swiper in that?
I didn’t know that narrowing could also apply to columns, but narrowing to a rectangular selection means scrolling to the bottom of the listing, which is why I prefer to search in the first place.
/-n
What is the meaning of that?
Just typing this at the swiper prompt searches for/-n
…The command is specific to the packages list.
It won’t work with regular sniper.
Thanks for the explanation, that possibility did not cross my mind, since I’m used to use swiper. :)
TIL
So then it is/ n
.
M-x narrow-to-region ? (maybe not, I’m not at a computer now)