diff --git a/README.md b/README.md index bfe806f4..3e1edc07 100644 --- a/README.md +++ b/README.md @@ -98,13 +98,15 @@ I can totally see the usefulness of such a feature, and it's definitely somethin ``` ⌘ + Enter Add new block below the current block -⌘ + Shift + Enter Split the current block at cursor position -⌥ + Enter Add new block after the last block +⌘ + Shift + Enter Add new block at the start of the buffer +⌥ + Enter Add new block below the current block +⌥ + Shift + Enter Add new block at the top of the buffer +⌘ + ⌥ + Enter Split the current block at cursor position ⌘ + L Change block language ⌘ + Down Goto next block ⌘ + Up Goto previous block ⌘ + A Select all text in a note block. Press again to select the whole buffer -⌘ + ⌥ + Up/Down Add additional cursor above/below +⌘ + ⌥ + Up/Down Add additional cursor above/below ⌥ + Shift + F Format block content (works for JSON, JavaScript, HTML, CSS and Markdown) ``` @@ -112,8 +114,10 @@ I can totally see the usefulness of such a feature, and it's definitely somethin ``` Ctrl + Enter Add new block below the current block -Ctrl + Shift + Enter Split the current block at cursor position -Alt + Enter Add new block after the last block +Ctrl + Shift + Enter Add new block at the start of the buffer +Alt + Enter Add new block below the current block +Alt + Shift + Enter Add new block at the top of the buffer +Ctrl + Alt + Enter Split the current block at cursor position Ctrl + L Change block language Ctrl + Down Goto next block Ctrl + Up Goto previous block diff --git a/electron/initial-content.ts b/electron/initial-content.ts index 5bc96e1d..5b3d5673 100644 --- a/electron/initial-content.ts +++ b/electron/initial-content.ts @@ -5,8 +5,10 @@ const altChar = isMac ? "⌥" : "Alt" const keyHelp = [ [`${modChar} + Enter`, "Add new block below the current block"], - [`${modChar} + Shift + Enter`, "Split the current block at cursor position"], - [`${altChar} + Enter`, "Add new block after the last block"], + [`${modChar} + Shift + Enter`, "Add new block at the start of the buffer"], + [`${altChar} + Enter`, "Add new block below the current block"], + [`${altChar} + Shift + Enter`, "Add new block at the top of the buffer"], + [`${modChar} + ${altChar} + Enter`, "Split the current block at cursor position"], [`${modChar} + L`, "Change block language"], [`${modChar} + Down`, "Goto next block"], [`${modChar} + Up`, "Goto previous block"],