Skip to content

Commit

Permalink
fix: Keybindings (#121)
Browse files Browse the repository at this point in the history
Key binding is changed for MAC
  • Loading branch information
rjoydip authored and ritwickdey committed May 17, 2018
1 parent 0388f3c commit 3314e17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 3314e17

Please sign in to comment.