Skip to content

Commit

Permalink
Use the same keybindins as the markdown extension. closes #55
Browse files Browse the repository at this point in the history
  • Loading branch information
joaompinto committed Mar 26, 2018
1 parent a563818 commit 1a2319b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ An extension to preview AsciiDoc text using the [Asciidoctor](https://asciidocto

The extension can be activated in two ways

* Toggle Preview - `ctrl+shift+r` (Mac: `cmd+shift+r`)
* Open Preview to the Side - `ctrl+k r` (Mac: `cmd+k shift+r`)
* Toggle Preview - `ctrl+shift+v` (Mac: `cmd+shift+v`)
* Open Preview to the Side - `ctrl+k v` (Mac: `cmd+k v`)
* View symbols - go to symbol action - `ctrl+shift+o`, select a heading.

## How to install
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,15 @@
"keybindings": [
{
"command": "adoc.preview",
"key": "ctrl+shift+r",
"mac": "shift+cmd+r",
"when": "editorTextFocus && editorLangId == asciidoc"
"key": "shift+ctrl+v",
"mac": "shift+cmd+v",
"when": "editorLangId == asciidoc"
},
{
"command": "adoc.previewToSide",
"key": "ctrl+k r",
"mac": "cmd+k shift+r",
"when": "editorTextFocus && editorLangId == asciidoc"
"key": "ctrl+k v",
"mac": "cmd+k v",
"when": "editorLangId == asciidoc"
}
],
"commands": [
Expand Down

0 comments on commit 1a2319b

Please sign in to comment.