Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Macos shortcuts #1161

Merged
merged 15 commits into from
Dec 19, 2024
Merged
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions editors/vscode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,26 @@ This extension provides support for the [Lambdapi](https://github.com/Deducteam/
Goals are visualised in a panel on the right side of the editor.
You can navigate in proof with the following key-bindings:

- ``Ctrl+Right``: go one step forward
- ``Ctrl+Left``: go one step backward
- ``Ctrl+Up``: go to the previous proof (or the beginning)
- ``Ctrl+Down``: go to the next proof (or the end)
***Linux and Windows***
- ``Ctrl+Right`` (``Ctrl+fn+Right`` in `Mac OS X`): go one step forward
fblanqui marked this conversation as resolved.
Show resolved Hide resolved
- ``Ctrl+Left`` (``Ctrl+fn+Left`` in `Mac OS X`): go one step backward
fblanqui marked this conversation as resolved.
Show resolved Hide resolved
- ``Ctrl+Up``: go to the previous proof <sup>*</sup> (or the beginning)
- ``Ctrl+Down``: go to the next proof <sup>*</sup> (or the end)
fblanqui marked this conversation as resolved.
Show resolved Hide resolved
- ``Ctrl+Enter``: go to the position of the cursor
- ``Ctrl+Alt+c``: toggle cursor mode (proof highlight follows the cursor or not)
- ``Ctrl+Alt+w``: toggle follow mode (proof highligsht is always centered in the window when keybindings are pressed)
- ``Shift+Alt+w``: center proof highlight in the current window

***Mac OS X***
- ``Ctrl+fn+Right``: go one step forward
- ``Ctrl+fn+Left``: go one step backward
- ``Ctrl+Enter``: go to the position of the cursor
- ``Ctrl+Alt+c``: toggle cursor mode (proof highlight follows the cursor or not)
- ``Ctrl+Alt+w``: toggle follow mode (proof highlight is always centered in the window when keybindings are pressed)
- ``Shift+Alt+w``: center proof highlight in the current window

For `go to the previous proof` and `go to the next proof`, Key bindings need to be changed in Code->Preferences->keyboard shortcuts (also reachable with Command+K Command+S) because default ones are used by Mac OS X
fblanqui marked this conversation as resolved.
Show resolved Hide resolved

**Hover and go-to-definition**

Hovering a token will display its type if available.
Expand Down
Loading