Skip to content

Commit

Permalink
Add help info for C-N key binding
Browse files Browse the repository at this point in the history
  • Loading branch information
heyman committed Dec 9, 2024
1 parent 8829197 commit 1f24d1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ Available for Mac, Windows, and Linux.
⌥ + Shift + Enter Add new block at the start of the buffer
⌘ + ⌥ + Enter Split the current block at cursor position
⌘ + L Change block language
⌘ + S Create a new note from the current block
⌘ + N Create a new note buffer
⌘ + S Create a new note buffer from the current block
⌘ + P Open note selector
⌘ + Down Goto next block
⌘ + Up Goto previous block
Expand All @@ -56,7 +57,8 @@ Ctrl + Shift + Enter Add new block at the end of the buffer
Alt + Shift + Enter Add new block at the start of the buffer
Ctrl + Alt + Enter Split the current block at cursor position
Ctrl + L Change block language
Ctrl + S Create a new note from the current block
Ctrl + N Create a new note buffer
Ctrl + S Create a new note buffer from the current block
Ctrl + P Open note selector
Ctrl + Down Goto next block
Ctrl + Up Goto previous block
Expand Down
3 changes: 2 additions & 1 deletion shared-utils/key-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export const keyHelpStr = (platform: string) => {
[`${altChar} + Shift + Enter`, "Add new block at the start of the buffer"],
[`${modChar} + ${altChar} + Enter`, "Split the current block at cursor position"],
[`${modChar} + L`, "Change block language"],
[`${modChar} + S`, "Create a new note from the current block"],
[`${modChar} + N`, "Create a new note buffer"],
[`${modChar} + S`, "Create a new note buffer from the current block"],
[`${modChar} + P`, "Open note selector"],
[`${modChar} + Down`, "Goto next block"],
[`${modChar} + Up`, "Goto previous block"],
Expand Down

0 comments on commit 1f24d1a

Please sign in to comment.