heyman / heynote

A dedicated scratchpad for developers
https://heynote.com
Other
3.86k stars 194 forks source link

Bug: |Ctrl + Shift + Enter Split the current block at cursor position| does not work #164

Closed gerroon closed 8 months ago

gerroon commented 8 months ago

Describe the bug Ctrl + Shift + Enter Split the current block at cursor position justs adds a new block way at the bottom of the page, it has nothing to do with splitting to a new block

To Reproduce Put the cursor in the middle of a block Ctrl + Shift + Enter -> Split the current block at cursor position

Expected behavior It should split the current block?

Desktop (please complete the following information):

diorama-sky commented 8 months ago

in Mac block not split when: ⌘ + Shift + Enter OS: Mac 13.3.1 (a)

However, the block is split when: ⌥ + ⌘ + Enter

heyman commented 8 months ago

The keybinding for splitting the current block changed with #85

If you first started using Heynote before that was merged you might still have the old keybindings in the welcome message at the top of the buffer (removing the buffer file would create a new one with the correct keybindings at the top).

Here you can see the current keybindings: https://github.com/heyman/heynote?tab=readme-ov-file#what-are-the-default-keyboard-shortcuts