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: add vi-swapcase-and-forward-char command for vi-mode #1632

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sakurawald
Copy link
Contributor

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 consecutive characters, just simply press the ~ key, and this new command will swap the case of character, move the cursor to forward character, repeatly.

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