vscode-sublime-keybindings icon indicating copy to clipboard operation
vscode-sublime-keybindings copied to clipboard

`ctrl+shift+d` is (almost) wrong

Open robsonsobral opened this issue 7 years ago • 5 comments

Hi!

ctrl+shift+d should triggers editor.action.copyLinesDownAction only if there's no selection, as mentioned on #10 . Otherwise, it should duplicate the selection content.

robsonsobral avatar Jan 27 '18 14:01 robsonsobral

I tried to do a Pull Request, but it´s blocked by VSCode #2075.

robsonsobral avatar Jan 27 '18 14:01 robsonsobral

See #100 for a replacement.

andig avatar Jan 27 '19 17:01 andig

See https://github.com/microsoft/vscode/issues/2075. This is build-in now and just needs a key assigned (add other keys):

{
  "key": "ctrl+shift+d",
  "command": "editor.action.duplicateSelection",
  "when": "editorTextFocus && !editorReadonly"
}

I'd be happy to do a PR but found that #105 never even got a sign of appreciation- so maintainers of this repo are on their own :(

andig avatar Oct 21 '19 16:10 andig

@andig , sometimes they take a long time, but I think you should try.

robsonsobral avatar Nov 08 '19 14:11 robsonsobral

To be frank, I won‘t unless there is better support and appreciation of contributions. As-is sadly it doesn‘t work for me.

andig avatar Nov 08 '19 15:11 andig