mhinz/vim-grepper

Adding a generic mapping example in wiki on <Plug>(GrepperOperator) flags setting

milvi opened this issue · 1 comments

milvi commented

Hello,

I have read the Wiki, skimmed through the source.

Can you provide a generic example on how to tweak the GrepperOperator flag mapping behavior ?

I see line 1200 on-wards,
let flags = s:get_config().operator ......

I suspect it happens here though have no clue (vimscript ignorant) what to set to trigger or config -buffers -noopen and the likes for the GrepperOperator mappings.

Please, add a single line example on how to set up or pass the option flags for GrepperOperator mappings, so that it can be tweaked at will afterwards.

Kindly

milvi commented

I figured out between line 70 and 110 there is a way but I have no idea whether I am doing it right.

let g:grepper.operator = {}
let g:grepper.operator.buffer = 1