Skip to content

Fix r to work in visual block state#1036

Merged
cxxxr merged 5 commits intolem-project:mainfrom
fukamachi:fix/vi-replace-visual-block
Sep 1, 2023
Merged

Fix r to work in visual block state#1036
cxxxr merged 5 commits intolem-project:mainfrom
fukamachi:fix/vi-replace-visual-block

Conversation

@fukamachi
Copy link
Copy Markdown
Collaborator

I added replace-state at #1033, but it doesn't work in the visual block state because replace-state deletes visual overlays.

Fix it by adding with-temporary-state, which temporarily enables only the keymap and cursor style without deleting visual overlays.

@fukamachi fukamachi force-pushed the fix/vi-replace-visual-block branch from 1c32e5c to 08cb4a3 Compare September 1, 2023 13:00
@cxxxr cxxxr merged commit ba55834 into lem-project:main Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants