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

feat: disable convert to uppercase and lowercase in visual mode #109

Merged
merged 1 commit into from
Aug 25, 2024

Conversation

dgokcin
Copy link
Owner

@dgokcin dgokcin commented Aug 25, 2024

Summary

This pull request introduces a new keymap configuration to disable the conversion to uppercase and lowercase in visual mode within the VSCode plugin configuration for Neovim.

Changes

  • Added a keymap to disable u and `U` in visual mode by mapping them to ``.
  • This change prevents accidental case conversion when using visual mode.

Additional Notes

  • The change is encapsulated within the condition that checks if the environment is not VSCode, ensuring it does not affect other environments.
  • The keymap is set with `noremap` and `silent` options to ensure no recursive mapping and to suppress any output or error messages.

- added keymap to disable `U` and `u` in visual mode
- this prevents accidental case conversion
@dgokcin dgokcin merged commit 8b1cee2 into main Aug 25, 2024
1 of 2 checks passed
@dgokcin dgokcin deleted the vscode-undo-fix branch August 25, 2024 15:54
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