Skip to content

Add diw and daw to vi-mode #1012

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

Merged
merged 1 commit into from
Aug 27, 2023
Merged

Add diw and daw to vi-mode #1012

merged 1 commit into from
Aug 27, 2023

Conversation

fukamachi
Copy link
Collaborator

@fukamachi fukamachi commented Aug 27, 2023

Add operator-pending state and text-objects to vi-mode, and add diw and daw as the first step.

diw and daw are commands to delete the word under the cursor. Also works with other operators, like ciw or yaw.

It does not work in visual state yet to expand the visual region. It will be added in the later changes.

@cxxxr cxxxr merged commit b803002 into lem-project:main Aug 27, 2023
@cxxxr
Copy link
Member

cxxxr commented Aug 27, 2023

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants