timhor/obsidian-editor-shortcuts

"Go to line number" goes to the last line if entering a number larger than the last line

Closed this issue · 4 comments

For example, if a note has 200 lines. Entering any number >200 will jump to line 200

timhor commented

Currently the modal already informs you of the line number range in the current file, and it intentionally does nothing if the number entered is outside of this range.

image

When using mobile or small keyboard, I don't have the shortcut "Ctrl+End" to go to the last line. So I would use "Go to line", spam "99999" to do this

timhor commented

Could this be achieved via the dedicated 'Go to last line' action instead?

It works! I didn't find it because I tried searching for command "begin" or "start"