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

<Plug>(PearTreeJump) should skip whitespace #28

Closed
tmsvg opened this issue Jun 3, 2019 · 2 comments
Closed

<Plug>(PearTreeJump) should skip whitespace #28

tmsvg opened this issue Jun 3, 2019 · 2 comments

Comments

@tmsvg
Copy link
Owner

tmsvg commented Jun 3, 2019

Using <Plug>(PearTreeSpace) often leads to the cursor being one space away from the closing string. It would be good if <Plug>(PearTreeJump) ignored this space and just moved past the closing string:

{% foo| %} -> {% foo %}|

@tmsvg tmsvg closed this as completed in 468845d Oct 20, 2019
@NicholasAsimov
Copy link

@tmsvg Could you please tell how can this be used? For example if I want to use the closer character to jump automatically? E.g. in {% foo| %} I press } and it jumps over.

I've tried mapping imap } <Plug>(PearTreeJump) but that didn't seem to work.

@lunacookies
Copy link

Maybe this should be a separate issue, but currently pressing PearTreeBackspace after pressing PearTreeSpace doesn’t delete the space in front of the cursor as well as the one behind it. Personally I would prefer if this was the case.

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

3 participants