We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Related to #1954, A-. doesn't repeat Goto next function (and possibly others).
A-.
Goto next function
It seems like perhaps the A-. keymap doesn't actually work for #1954 although the command palette does work as expected.
The text was updated successfully, but these errors were encountered:
Repeat last command also doesn't appear to apply to view commands in the z menu:
view
z
}, "z" => { "View" "z" | "c" => align_view_center, "t" => align_view_top, "b" => align_view_bottom, "m" => align_view_middle, "k" | "up" => scroll_up, "j" | "down" => scroll_down, "C-b" | "pageup" => page_up, "C-f" | "pagedown" => page_down, "C-u" => half_page_up, "C-d" => half_page_down, },
Sorry, something went wrong.
Seems like the issue is basically that for select_textobject (https://github.com/helix-editor/helix/blob/master/helix-term/src/commands.rs#L4013), the last_motion gets set: cx.editor.last_motion = Some(Motion(Box::new(textobject))); (https://github.com/helix-editor/helix/blob/master/helix-term/src/commands.rs#L4060)
select_textobject
last_motion
cx.editor.last_motion = Some(Motion(Box::new(textobject)));
But for goto_ts_object_impl (https://github.com/helix-editor/helix/blob/master/helix-term/src/commands.rs#L3951) it does not, hence, not repeatable.
goto_ts_object_impl
Looking through this file, it's probably worth a larger refactoring of move and select commands to make sure they're always repeatable, undoable, etc.
the-mikedavis
Successfully merging a pull request may close this issue.
Related to #1954,
A-.
doesn't repeatGoto next function
(and possibly others).It seems like perhaps the
A-.
keymap doesn't actually work for #1954 although the command palette does work as expected.The text was updated successfully, but these errors were encountered: