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

Fly Mode like in jiangmiao/auto-pairs #307

Closed
marlun opened this issue Dec 27, 2022 · 2 comments
Closed

Fly Mode like in jiangmiao/auto-pairs #307

marlun opened this issue Dec 27, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@marlun
Copy link

marlun commented Dec 27, 2022

Is your feature request related to a problem? Please describe.
When you're deep inside nested pairs it's nice to be able to jump to the end of the line in a fast way without having to leave insert mode or input all the ending characters.

Describe the solution you'd like
There's a good explanation at https://github.com/jiangmiao/auto-pairs if you search for "Fly Mode".

Describe alternatives you've considered
You'll have to leave insert mode and use normal mode commands which is OK but Fly Mode is an interesting solution. Not sure if it would make the code more complex and if it's not worth it but I still wanted to bring it up.

Additional context
Adding the description as a screenshot here:
image

@marlun marlun added the enhancement New feature or request label Dec 27, 2022
@windwp
Copy link
Owner

windwp commented Dec 28, 2022

if you want to jump out of a pair you can check this
#167
My plugin processes a pair of values that are located on the current line. I don't want to scan multiple lines in order to locate the values, as this would involve scanning 4, 5, or even 20 lines, which would be inefficient.

@marlun
Copy link
Author

marlun commented Jan 2, 2023

No worries, I'll close this issue since you're clear about not wanting to do it. I'll take a look at #167 or get my brain to use CTRL-O more 😄

@marlun marlun closed this as completed Jan 2, 2023
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