From aa7daf4ed6974e06e16b1910fb7769607775146b Mon Sep 17 00:00:00 2001 From: Jonatan Heyman Date: Sat, 19 Apr 2025 13:23:44 +0200 Subject: [PATCH] Add info about custom key bindings to documentation --- docs/changelog.md | 2 +- docs/index.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/changelog.md b/docs/changelog.md index 890ed08..35c7478 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -6,7 +6,7 @@ Here are the most notable changes in each release. For a more detailed list of c ### New Features -- Added support for custom key bindings +- Added support for custom key bindings. See [the documentation](https://heynote.com/docs/#user-content-custom-key-bindings) for more info. - Added a "command palette" that can be accessed by pressing `Ctrl/Cmd+Shift+P`, or just typing `>` in the buffer selector. The command palette allows you to discover all available commands in the app, and to quickly execute them. ## 2.1.4 diff --git a/docs/index.md b/docs/index.md index ef37a95..fed1b94 100644 --- a/docs/index.md +++ b/docs/index.md @@ -68,6 +68,12 @@ Alt + Shift + F Format block content (works for JSON, JavaScript, HTML, C Alt Show menu ``` +## Custom Key Bindings + +Heynote supports custom key bindings which you can configure in the settings. The key bindings are evaluated from top to bottom, so a binding that comes before another one will take precedence. Most commands will stop the event from propagating, but some commands only applies in certain contexts and might not stop the event from propagating to a later key binding. + +To disable one of the built in key bindings, you can add a new key binding with the same key combination for the command "Do nothing". This will stop the event from propagating to the built in key binding. + ## Download/Installation Download the appropriate (Mac, Windows or Linux) version from [heynote.com](https://heynote.com). The Windows build is not signed, so you might see some scary warning (I can not justify paying a yearly fee for a certificate just to get rid of that).