shorcut key todocument function in vscode code example Example: vscode shortcut to delete line Mac OS : Command + X or Command + Shift + K