Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
milvi opened this issue Jun 19, 2020 · 1 comment

Comments

@milvi
Copy link

milvi commented Jun 19, 2020

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
Copy link
Author

milvi commented Jun 19, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant