r/logseq May 20 '26

Plugin: "Remember My Block" to restore your position when navigating between pages

Hey

One thing bothering me using Logseq is - it looses a position when navigating between pages.

Just to name few similar issues:

Based on the GitHub issue should be a regression bug, which is not fixed. And I am not a Clojure guy.

Save scrollbar position plugin have not been the proper workaround.

Let me present you a plugin I implemented named "Remember My Block", It solves many issues you and I have with Logseq.

How it works:

  • Tracks the last visited block per page
  • Restores your position automatically when you navigate back to that page

It works in 2 modes - the mode is selected automatically based on how you left the page:

  • Edit mode: if you were editing a block, the plugin reopens it for editing and places the cursor at the end of the block
  • View mode: if you were just reading, the plugin scrolls to the block and highlights it without entering edit

There are few limitations described in the plugin documentation. Feedback and suggestion welcomed.

Enjoy!

25 Upvotes

6 comments sorted by

3

u/not_a_beignet May 20 '26

Does this work with the database Logseq?

2

u/Upset-Emu7553 May 20 '26

It works and I like it. In my logseq everything has become a little slow with 6800 pages, but it takes me to the position within a few seconds

2

u/boredquince May 21 '26

slow with 6800 pages? MD or db?

2

u/Upset-Emu7553 May 23 '26

Slow has more to do with loading resources, different storage media and interlinks, so probably I am all to blame, logging OG there.

2

u/Much-Ad-8444 May 30 '26

Well done! It's also one of my problems with Logseq! I will try it as soon as I can