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

Forgets jump-label-alphabet setting after :set command #10153

Closed
thled opened this issue Apr 4, 2024 · 0 comments · Fixed by #10156
Closed

Forgets jump-label-alphabet setting after :set command #10153

thled opened this issue Apr 4, 2024 · 0 comments · Fixed by #10156
Labels
C-bug Category: This is a bug

Comments

@thled
Copy link

thled commented Apr 4, 2024

Summary

After I use any set command it seems like the configuration of the jump-label-alphabet setting is lost and defaults to the alphabet.

Reproduction Steps

I tried this:

  1. Set jump-label-alphabet to something other than the alphabet in the configuration, e.g.
[editor]
jump-label-alphabet = "shtarenicpdoluwfmxbgyzvk"
  1. Open Helix: $ hx
  2. Insert some text: ihello world
  3. Trigger jump mode: gw
  4. See that the jump-label-alphabet setting is respected (e.g. "world" has label ss and "hello" has label sh).
  5. Execute some set command: :set mouse false
  6. Trigger jump mode again: gw

I expected this to happen:

See labels that match my jump-label-alphabet setting (e.g. "world" has label ss and "hello" has label sh).

Instead, this happened:

The labels do not match my jump-label-alphabet setting (e.g. "world" has label aa and "hello" has label ab).

Helix log

No response

Platform

Linux

Terminal Emulator

foot

Installation Method

flake

Helix Version

helix 24.3

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

Successfully merging a pull request may close this issue.

1 participant