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

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

Open
dvdsk opened this issue Sep 22, 2024 · 0 comments
Open

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

dvdsk opened this issue Sep 22, 2024 · 0 comments

Comments

@dvdsk
Copy link

dvdsk commented Sep 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 😅

@dvdsk dvdsk changed the title Editing error: Macro error when remapping : as ; and vice versa. Bug: Editing error: Macro error when remapping : as ; and vice versa. Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant