Skip to content
New issue

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

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

Already on GitHub? # to your account

mi" does not work when the cursor is on either quote (likewise for mi', ma", ma') #12478

Open
robinmoussu opened this issue Jan 10, 2025 · 4 comments · May be fixed by #12494
Open

mi" does not work when the cursor is on either quote (likewise for mi', ma", ma') #12478

robinmoussu opened this issue Jan 10, 2025 · 4 comments · May be fixed by #12494
Labels
C-bug Category: This is a bug

Comments

@robinmoussu
Copy link

Summary

When the cursor is on a quote (either double or simple), mi" (and mi', ma", ma') do nothing. This is incoherent with mm which correctly jumps to the associated matching quote.

Note: could be related to #12454

Reproduction Steps

I tried this:

  1. hx

I expected this to happen:

Instead, this happened:

Helix log

~/.cache/helix/helix.log
please provide a copy of `~/.cache/helix/helix.log` here if possible, you may need to redact some of the lines

Platform

Linux

Terminal Emulator

zelij inside wezterm

Installation Method

source

Helix Version

24.07-326-gce133a28

@robinmoussu robinmoussu added the C-bug Category: This is a bug label Jan 10, 2025
@RoloEdits
Copy link
Contributor

I believe it works for bracket-like things as there is clear opening and closing (and thus a direction in which its clear it should traverse), where as with quotes its just a single symbol for opening and closing.

@robinmoussu
Copy link
Author

@RoloEdits the thing is that mm does work correcty and jumps to the other quote as expected.

@nik-rev
Copy link
Contributor

nik-rev commented Jan 11, 2025

@RoloEdits the thing is that mm does work correcty and jumps to the other quote as expected.

Ok, can you try this PR: #12494

@robinmoussu
Copy link
Author

The PR does fixes it

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants