From 6d94561843768850de67ab4c5b5136940f03b8cf Mon Sep 17 00:00:00 2001 From: tyo <142723158+heytheretyo@users.noreply.github.com> Date: Sat, 26 Aug 2023 16:57:40 +0300 Subject: [PATCH] feat: add keyboard shortcut for Snappify command --- package.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9e28b0c..7f680d1 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,15 @@ "command": "snappify.new" } ] - } + }, + "keybindings": [ + { + "command": "snappify.new", + "key": "ctrl+alt+s", + "mac": "cmd+alt+s", + "when": "editorTextFocus" + } + ] }, "scripts": { "vscode:prepublish": "npm run esbuild-base -- --minify",