QoL for Vim keybinding

I have two proposal/questions.

1. (Relative) line numbers

When using Vim keybinding, relative line number improves quality of life significantly.
Specifically, if relative line number is shown, I can go to the line that I want at once with single command, e.g., 12k or 12j.

In addition, SilverBullet currently supports Navigate: To Line command. Having option to show line number would make user experience more consistent.

2. go-to page

Another handy vim command that I use often are:

  • gd to "go to definition"
  • ^o to "jump back"

If you're not familiar to these, this video demonstrates their usage.

I believe implementing these commands in SilverBullet's vim mode can be handy shortcut.


I tried to find solution but couldn't find one.
I'm new to SilverBullet, so there might be existing solution or an easy way to implement this.

Maybe this little floating widget could be handy:

https://github.com/Mr-xRed/silverbullet-libraries/blob/main/FloatingCursorPosition.md

It shows the current cursor position in the editor: line, column, and absolute character offset, updating in real time as you type or move the cursor. Draggable and persistent across sessions.

You can install it using the Library: Install command, or directly from My Repo if you already added it.