vs code shortcut to duplicate same line code example
Example 1: vs code copy a link down
On Windows: Shift + Alt + Up/Down.
On Mac: Shift + Option + Up/Down.
On Ubuntu: Ctrl + Shift + Alt + Up/Down.
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" },