Yes, I prefer this shortcut. It makes more sense too if you have Ctrl+Down to move that line down (and same with up)
1 Like
Interesting, in my VS Code install, itβs option-shift-down arrow to duplicate the line. I never changed it.
Many thanks for you, works great!
+1 for this to be a native feature
sorry to necro but did the native line duplication method get taken out recently?
I used to be able to do this but I think since most recent update no selection ctrl+c/ctrl+v appends the contents of the current line to the current line instead of on a new line.
2 Likes