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

Fix ctrl/cmd+shift+d shortcut when text is selected #178

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

Conversation

ArtskydJ
Copy link

In Sublime Text, when no text is selected and you hit Ctrl+Shift+D, it duplicates the line.
In Sublime Text, when text is selected and you hit Ctrl+Shift+D, it duplicates the selected text.

This PR changes the command so that VS Code behaves the same way.

Sublime:
3bb99225-7c99-4d35-b50f-314074a16919

VS Code Before:
23701bb1-cd62-4989-8f8d-27d719fa7d79

VS Code After:
8c221045-9613-4e98-adbb-274f00c8c2fb

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