vim-grepper icon indicating copy to clipboard operation
vim-grepper copied to clipboard

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

Open milvi opened this issue 5 years ago • 1 comments

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 avatar Jun 19 '20 16:06 milvi

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

milvi avatar Jun 19 '20 17:06 milvi