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

Add mapping to skip over closing pair #190

Closed
noib3 opened this issue Dec 10, 2021 · 3 comments
Closed

Add mapping to skip over closing pair #190

noib3 opened this issue Dec 10, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@noib3
Copy link

noib3 commented Dec 10, 2021

In delimitMate typing <S-Tab> after a closing bracket/quote will skip that character, e.g. (<S-Tab> becomes ()|. Is there a way to get the same effect with this plugin?

@noib3 noib3 added the enhancement New feature or request label Dec 10, 2021
@windwp
Copy link
Owner

windwp commented Dec 10, 2021

sorry tab and mapping is not provide because it can be conflict with completion like nvim-cmp.
you can create a customrule to do that or use another plugin.

#167

@windwp windwp closed this as completed Dec 10, 2021
@noib3
Copy link
Author

noib3 commented Dec 10, 2021

You wouldn't need to actually map <Tab>, just expose something like a <Plug>autopairs-skip-closing mapping that users can use if they want to.

@windwp
Copy link
Owner

windwp commented Dec 11, 2021

Are you try a tabout plugin it can jump cross multiple line and text by treesitter.
if i do that on this plugin by rule it only move cursor left or right with 1 step.

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

No branches or pull requests

2 participants