Skip to content

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

Open
ArtskydJ wants to merge 1 commit intomicrosoft:mainfrom
ArtskydJ:patch-1
Open

Fix ctrl/cmd+shift+d shortcut when text is selected#178
ArtskydJ wants to merge 1 commit intomicrosoft:mainfrom
ArtskydJ:patch-1

Conversation

@ArtskydJ
Copy link
Copy Markdown

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