heyman / heynote

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

Bug: Command-Shift-Enter Does not Split the current section #207

Closed whoiskevin closed 4 months ago

whoiskevin commented 5 months ago

Using the shortcut to split the current section at the cursor just scrolls to the bottom in a new section. Unless I am mistaken the Cmd-Shift-Enter shortcut should split the current section at the cursor creating a new section with the content below the current cursor position.

To Reproduce

  1. Add a section and type 'line 1' press enter twice and type 'line 2'
  2. Arrow up to the blank line between line 1 and line 2
  3. Press the short cut Cmd-Shift-Enter
  4. new section is added at bottom of the buffer

Expected behavior Would expect line 1 to remain in a separate section and a new section would be created with line 2

Screenshots

screenshot 2024-02-21 at 9 26 52 AM

Desktop (please complete the following information):

heyman commented 5 months ago

The key binding was changed to Cmd-Option-Enter.

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

whoiskevin commented 4 months ago

Thanks. Wasn't aware of the changes.