Vim movement on PDF reader

Now that Obsidian has its own PDF Reader, I believe it would be a great addition to the app if we could use bindings like Zathura

Use case or problem

It’s a bit annoying to be using vim keybindings on edit mode and then have to go to the mouse only to scroll the PDF. Also, when I click <C-minus> or <C-plus> I change the app zoom, instead of the PDF zoom.

Proposed solution

Since the most annoying part is the scrolling and the zoom, only the hjkl movement and the - and + would be great. But if it’s possible, implementing f to follow links and and v to enter visual mode would be awesome.

And if v is implemented maybe y could be for copying text and Y for copying the link to selection.

Current workaround (optional)

Using mouse only to scroll and zoom the PDF :face_with_diagonal_mouth:

5 Likes

My PDF++ plugin allows you to use some Vim-like keybindings to interact with PDFs.

Note that Vim keybindings are disabled by default and you need to enable it manually. To do this, open PDF++ settings, go to the “Vim keybindings” section near the bottom of the page, and turn on the “Enable” toggle.

3 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.