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

  • Portside9089@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    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 “”