Hey :))
I’m trying to get smooth scrolling to work with Vi bindings in Zathura. It works out of the box with “<C-Down>” and “<C-Up>”. I found a solution on the internet saying you could map j and k to “<C-Down>” and “<C-Up>”, which I’ve done by writing the following in zathurarc:
map j feedkeys "<C-Down>"
map k feedkeys "<C-Up>"
And it works :))
the only problem is - every time I press either j or k, it writes the following error to the terminal:
(org.pwmt.zathura:112248): Gdk-WARNING **: 08:53:50.919: Event with type 8 not holding a GdkDevice. It is most likely synthesized outside Gdk/GTK+
Is there a better way to get smooth scrolling with vi bindings in zathura ? ^^
// This post has been a hell with formatting, sorry
I’m a bit confused by your post, cause
j
andk
are the default keybindings for vertical scrolling and,
and.
aren’t mentioned at all in https://man.archlinux.org/man/zathura.1#MOUSE_AND_KEY_BINDINGS .
Zathura’s keybindings are defined in zathurarc, so that’s the way to do it: https://man.archlinux.org/man/zathurarc.5.enIf this throws an error or doesn’t work as expected, you might want to file a bug report against zathura.
Which commands did you use exactly? There is some information not displayed in your post. That’s what I see:
It works out of the box with and . I found
map j feedkeys “” map k feedkeys “”
you’re right :))
I’ve updated it now ^^
Looks still the same to me. The keys which you are using are not displayed, i.e. there is nothing inside the quotation marks.