-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Mapped commands that would exit into normal mode do not propagate in history #3501
Labels
C-bug
Category: This is a bug
Comments
Related: #1583 |
Related: #2883, and I would point you to my comment in that thread as well |
This was referenced Nov 19, 2022
omentic
added a commit
to omentic/helix-ext
that referenced
this issue
Nov 1, 2023
Workaround for the write command:
|
This was referenced Apr 2, 2024
omentic
added a commit
to omentic/helix-ext
that referenced
this issue
May 1, 2024
omentic
added a commit
to omentic/helix-ext
that referenced
this issue
May 1, 2024
omentic
added a commit
to omentic/helix-ext
that referenced
this issue
May 1, 2024
omentic
added a commit
to omentic/helix-ext
that referenced
this issue
May 1, 2024
Fixed by #11062 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
I have many commands like
C-s = ":write"
set up in my configuration file, as I like having some base level of commands that work across all editors in addition to editor-specific commands. But something that bothers me a lot with Helix right now is that those commands don't increment the undo history.If I ran
:w
normally, by exiting insert mode the undo history would be appended to. But since it's directly aliased, normal mode is never inserted and the undo history is never updated.Reproduction Steps
https://asciinema.org/a/80czKCCbVB3wCja7zQLCCVii0
With this configuration:
Helix log
~/.cache/helix/helix.log
Platform
Linux
Terminal Emulator
kitty 0.25.2
Helix Version
helix 22.05
The text was updated successfully, but these errors were encountered: