From 3314e172dacfb4bef57dacb5337188a2f91a9994 Mon Sep 17 00:00:00 2001 From: Joydip Roy Date: Fri, 18 May 2018 00:52:16 +0530 Subject: [PATCH] fix: Keybindings (#121) Key binding is changed for MAC --- README.md | 2 +- package.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d61c3f8c..404a89cb 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ 3. Open a HTML file and Right click on the editor and choose the options. ![Edit Menu Option Preview](./images/Screenshot/vscode-live-server-editor-menu-3.jpg) -4. Hit `(alt+L, O)` to Open the Server and `(alt+L, C)` to close the server (You can change the shortcut form keybinding). *[On MAC, `cmd+L, O` and `cmd+L, C`]* +4. Hit `(alt+L, alt+O)` to Open the Server and `(alt+L, alt+C)` to close the server (You can change the shortcut form keybinding). *[On MAC, `cmd+L, cmd+O` and `cmd+L, cmd+C`]* 5. Press `F1` or `ctrl+shift+P` and type `Live Server: Open With Live Server ` to start a server or type `Live Server: Close Live Server` to stop a server. diff --git a/package.json b/package.json index 84bcf607..a1b6798d 100644 --- a/package.json +++ b/package.json @@ -47,15 +47,15 @@ "keybindings": [ { "command": "extension.liveServer.goOffline", - "key": "alt+L C", + "key": "alt+L alt+C", "when": "editorTextFocus", - "mac": "cmd+L C" + "mac": "cmd+L cmd+C" }, { "command": "extension.liveServer.goOnline", - "key": "alt+L O", + "key": "alt+L alt+O", "when": "editorTextFocus", - "mac": "cmd+L O" + "mac": "cmd+L cmd+O" } ], "menus": {