helix icon indicating copy to clipboard operation
helix copied to clipboard

Allow user remapping of "repeat last insert"

Open eugenesvk opened this issue 3 years ago • 3 comments

As far as I understand, there is no "repeat last command" command, you must use the default . keybind

I'd like to move this command to a different key, so I'd need a repeat_last_command command I could use

eugenesvk avatar Jan 12 '22 10:01 eugenesvk

For historical reasons this is currently a builtin https://github.com/helix-editor/helix/blob/a2fad4fcb0c4a0547a86cb18820f2c8612991a1d/helix-term/src/ui/editor.rs#L730-L738

but since macros don't have this limitation and also do a similar thing I think it should be possible to refactor this into a command now 👍🏻

archseer avatar Jan 13 '22 15:01 archseer

A side-effect of this is that you can't map anything else to .

rcorre avatar Feb 15 '23 12:02 rcorre

This issue is painful 😩. I am coming from a different editor and I am accustomed to using . for a different thing.

stindrago avatar Sep 11 '23 23:09 stindrago