/-n
Emacs
A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!
Get Emacs
Rules
- Posts should be emacs related
- Be kind please
- Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.
Emacs Resources
Emacs Tutorials
- Beginner’s Guide to Emacs
- Absolute Beginner's Guide to Emacs
- How to Learn Emacs: A Hand-drawn One-pager for Beginners
Useful Emacs configuration files and distributions
Quick pain-saver tip
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)
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.