-
-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededpinned
Description
support multiline search
['multiline'] = {
desc = 'search multiline',
icon = '[M]',
value = '--multiline',
},
problem
-
if we add this to rg search option we can search across multi line with \n but it have wrong total result because we read everyline and map it to a result
-
the highlight is not correct too because we use vim to highlight vim doesn't support
\n. It only read 1 line to highlight -
sed is not support replace with range on multiple line. I use sed because it use a same syntax of vim and vim group name replace. but it will broken on multiple
current solution is search 1 line and use quickfix to run macro cdo 😄
danielo515, mercxry, Integralist, TxHawks, NeilGirdhar and 18 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededpinned