I'd like to start swiper with a filter pre-set on the search -- as if I'd entered a search expression and then used S-SPC (ivy-restrict-to-matches) to clear the query space to narrow the results down further.
I can use
(swiper "something to search on here") but I still see something to search on here in the minibuffer. How can I get that to go away programmatically?
My use-case is a simple way to navigate functions defined in a file. I defined a regexp that matches the beginning of functions up to the function name -- I'd like to match on this name.
ivy-restrict-to-matchesis bound toS-SPC.