I have just started with VSCode on Ubuntu and was looking for the equivalent of cmd+shift+D
in Sublime on the Mac (duplicate selected text) . According to the docs I should use Ctrl+Shift+Alt+Down
or Ctrl+Shift+Alt+Up
but these keybindings are not working for me. When I look in File > Preferences > Keyboard Shortcuts
, I see the definitions, but when I try to use them, nothing happens.
upon checking my default keybinding, i found that editor.action.insertCursorAbove and editor.action.insertCursorDown each has two keybindings ctrl+shift+up/down and alt+shift+up/down.
so i changed editor.action.copyLinesDownAction and editor.action.copyLinesUpAction to ctrl+shift+up and ctrl+shift+down respectively. because in my ubuntu system ctrl+shift+alt+up/down keys were toggling the workspace.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With