Not entirely related to this community, but I don’t know where else to ask.

I am looking to remap ‘f’ and ‘F’, so they better follow local pdf links. I want ‘f’ to follow the link without opening a new zathura instance and I want ‘F’ to follow the link in a new instance.

I can fix ‘F’ with

map F follow

but I don’t know how to fix ‘f’.

Say I want to open a link to b.pdf, the functionality I want from ‘f’ is then identical to writing “:o b.pdf” in the input bar.

It is possible to get the filepath with

map f display_link

but don’t know how to pipe it into :o

Is this possible by adding something in my zathurarc ?