vscode-sublime-keybindings
vscode-sublime-keybindings copied to clipboard
Fix ctrl/cmd+shift+d shortcut when text is selected
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:
VS Code Before:
VS Code After: