mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Fix incorrect markdown links (#3243)
This commit is contained in:
parent
251c7ffd2d
commit
cf4a03628b
1 changed files with 2 additions and 2 deletions
|
|
@ -89,7 +89,7 @@ exports.decorateKeymaps = keymaps => {
|
|||
}
|
||||
```
|
||||
The command name can be whatever you want, but the following is better to respect the default naming convention: `<context>:<action>`.
|
||||
Hotkeys are composed by (Mousetrap supported keys)[https://craig.is/killing/mice#keys].
|
||||
Hotkeys are composed by [Mousetrap supported keys](https://craig.is/killing/mice#keys).
|
||||
|
||||
**Bonus feature**: if your command ends with `:prefix`, it would mean that you want to use this command with an additional digit to the command. Then Hyper will create all your commands under the hood. For example, this keymap `'pane:hide:prefix': 'ctrl+shift'` will automatically generate the following:
|
||||
```
|
||||
|
|
@ -129,7 +129,7 @@ rpc.on('command pane:snapshot', () => {
|
|||
|
||||
### Menu
|
||||
Your plugin can expose a `decorateMenu` function to modify the Hyper menu template.
|
||||
Check the (Electron documentation)[https://electronjs.org/docs/api/menu-item] for more details about the different menu item types/options available.
|
||||
Check the [Electron documentation](https://electronjs.org/docs/api/menu-item) for more details about the different menu item types/options available.
|
||||
|
||||
Be careful, a click handler will be executed on the main process. If you need to trigger a handler in the render process you need to use an `rpc` message like this:
|
||||
```js
|
||||
|
|
|
|||
Loading…
Reference in a new issue