Skip to content

Conversation

rgbkrk
Copy link
Member

@rgbkrk rgbkrk commented Jun 24, 2025

Shift+Enter now does the same thing people (like me!) are used to in chat apps - it creates newlines instead of submitting

Ctrl-Enter: Execute cell and stay in current cell

Cmd-Enter: Execute cell and move to next cell

Arrow Keys: Respect line boundaries before moving between cells

rgbkrk added 3 commits June 24, 2025 14:05
- Remove Shift+Enter execution (now creates newlines like chat apps)
- Keep only Ctrl/Cmd+Enter for execution and advance to next cell
- Fix arrow key navigation to respect line boundaries
- ArrowUp only moves to previous cell from beginning of first line
- ArrowDown only moves to next cell from end of last line
- Enables natural text selection with Shift+arrows within cells
- Ctrl+Enter: Execute cell but stay in current cell
- Cmd+Enter: Execute cell and move to next cell
- Prevents both modifiers from being active simultaneously
@rgbkrk rgbkrk merged commit f77ab5c into main Jun 24, 2025
1 check passed
@rgbkrk rgbkrk deleted the fix/natural-keyboard-navigation branch June 25, 2025 02:37
@rgbkrk rgbkrk restored the fix/natural-keyboard-navigation branch June 26, 2025 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant