visual studio code shortcut to copy a line in mac code example
Example 1: vscode duplicate line
Shift + Alt + Any Up 0r Down Keys
Example 2: ubunutu duplicate shortcuts
{ "key": "shift+alt+down", "command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus" },
{ "key": "shift+alt+up", "command": "editor.action.copyLinesUpAction",
"when": "editorTextFocus" },