diff --git a/Shortcuts-doc.md b/Shortcuts-doc.md index 479dc259b..7225bbbe5 100644 --- a/Shortcuts-doc.md +++ b/Shortcuts-doc.md @@ -9,6 +9,7 @@ All commands are listed as ctrl+some key. If you're on Mac | Shortcut | Does | | ------------------------------------------- | ---------------------------------- | | ctrl+alt+b | Builds current file | +| ctrl+alt+c | clean latex build files | | ctrl+alt+v | Opens corresponding PDF | | ctrl+alt+j | Synctex from cursor (windows only) | | ctrl+alt+x | Open Extension Sidebar | diff --git a/package.json b/package.json index 48a4be6b5..c5be4f58a 100644 --- a/package.json +++ b/package.json @@ -255,6 +255,16 @@ "key": "ctrl+alt+b", "when": "!isMac && editorTextFocus" }, + { + "command": "latex-workshop.clean", + "key": "cmd+alt+c", + "when": "isMac && editorTextFocus" + }, + { + "command": "latex-workshop.clean", + "key": "ctrl+alt+c", + "when": "!isMac && editorTextFocus" + }, { "command": "latex-workshop.view", "key": "cmd+alt+v",