nvim-autopairs icon indicating copy to clipboard operation
nvim-autopairs copied to clipboard

[Question] How to complete pair only when there is some other input?

Open DaiterGG opened this issue 11 months ago • 1 comments

this is the behavior that I what to achieve:

Before   Input    After
▌        i"<C-c>    "▌

but

Before    Input        After
▌         i"a<C-c>     "a"▌

in other words, option delay autopair by one input I scout through the :help section and couldn't find anything

DaiterGG avatar Mar 27 '25 17:03 DaiterGG

We don't have that option; you need to figure it out based on the rules of the API. It might be similar to this link—it uses the <Cr> key. https://github.com/windwp/nvim-autopairs/wiki/Custom-rules#expand-multiple-pairs-on-enter-key

windwp avatar Apr 06 '25 12:04 windwp

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 06 '25 00:06 stale[bot]