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

feature: new command vi-swapcase-and-forward-char for vi-mode. #1629

Closed
wants to merge 0 commits into from

Conversation

sakurawald
Copy link
Contributor

@sakurawald sakurawald commented Nov 22, 2024

To close the issue: #1621

The command vi-swapcase-and-forward-char is used as a shortcut to swap-case on cursor and forward char in vi-normal mode.
The vi-swapcase is an vi-operator, which requires an extract motion action, to decide the region of swap-case, which may be an over-kill for some simple-case.

If you only want to swapcase for a consecutive characters, just simply press the ~ key, and this new command will swap the case of character, move the cursor to forward character, repeatly.

@sakurawald
Copy link
Contributor Author

For some reason, the file is re-formatted by the formatter in my env.
I don't know if this is correct. I am using the default code formatter provided by lem editor.

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

Successfully merging this pull request may close these issues.

1 participant