Bug: Editing error: Macro error when remapping : as ; and vice versa. #184

Open
opened 2025-10-14 15:41:44 -06:00 by navan · 0 comments
Owner

Originally created by @dvdsk on 9/22/2024

reproduce

have the following in your config then start iamb

[macros."normal|visual"]
":" = ";"
";" = ":"

output

Red error at the bottom of the screen:
Editing error: Macro error: Ending suspected macro loop; macro run 100 times w/o keyboard input

expected behaviour

Same as in vim:

  • pressing : should now do what ; does
  • pressing ; should act as if you pressed :

usecase

my fingers do not like pressing shift + ; a lot so I have had this in vim for years. Since iamb has such great vim like model editing its messing with my muscle memory 😅

*Originally created by @dvdsk on 9/22/2024* ### reproduce have the following in your config then start iamb ```toml [macros."normal|visual"] ":" = ";" ";" = ":" ``` ### output Red error at the bottom of the screen: ```Editing error: Macro error: Ending suspected macro loop; macro run 100 times w/o keyboard input``` ### expected behaviour Same as in vim: - pressing `:` should now do what `;` does - pressing `;` should act as if you pressed `:` ### usecase my fingers do not like pressing `shift` + `;` a lot so I have had this in vim for years. Since iamb has such great vim like model editing its messing with my muscle memory :sweat_smile:
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/iamb#184
No description provided.