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
    link
    fedilink
    arrow-up
    1
    ·
    1 year 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 “”

      • Portside9089
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Looks still the same to me. The keys which you are using are not displayed, i.e. there is nothing inside the quotation marks.