The cursor is now in the title of the note, rather than the editor it was in before
Pressing down doesn’t bring it back into the editor
This gets me all the time, so I thought I would share my experience here. Maybe we can have an optional setting to disable the “press up to go to title” feature?
Thanks for the feedback.
Let’s change the behavior where it move the focus to the title when:
- if (cur.line === 0) {
+ if (cur.line === 0 && cur.ch === 0) {
// then, move the focus to title
additionally, I found a bug where the cursor doesn’t properly move from the middle of the title to its end when pressing the down arrow key. I’ll fix it.
What’s your platform?
Thanks for the quick reply. Personally, I would like to avoid putting the cursor in the title at all using the up arrow key. Is this possible? Or to have this configurable? It would be nice to be able to type Shift+Tab to get to the title when at the very top line of the editor, but not the up arrow imo.
@craftzdog Upon thinking about this some more, I’m thinking this should be treated as a bug. When you navigate to the title with the up arrow, should there not be a way to go back to the editor?
Based on your response, there may be a misunderstanding of the issue. The title of this issue actually misrepresents the actual issue occurring. I think going up to the title is acceptable, though there’s no quick way to get back to the editor AFAIK. Maybe there’s an existing keyboard shortcut to get back to the editor from the title? At the moment, you need to press tab 15 times to get back to the editor (when not in distraction-free mode). I would think pressing down would take me back to the editor, since pressing up goes from the editor to the title.
You can press the down key to go back to the editor.
If the cursor is in the middle of the title, the first key down brings the cursor to the end of the title. The second moves the focus to the editor. This behavior is mentioned here: