I am using swiper and I often feel the need for either --after-context=NUM
(-A) or --before-context=NUM
(-B) when searching via rg
or grep
. Is there an ergonomic way of calling, for example +default/search-buffer
with one or both of those flags?
I know you can run SPC u SPC u M-x counsel-rg
and specify -A 10
but it is a bit awkward to use.