Skip to content
Discussion options

You must be logged in to vote

Hello, I'm using vimtex with okular as my viewer on Wayland (in particular, swaywm). Inverse search works well except for that it does not focus on the Neovim window.

Great, glad to hear that. I'm still on X11 (I have a setup that has served me well for a decade or more, so why change a winning recipe?).

Does anyone have any idea how I can make this work, even if it's a bit hacky?

I'm sorry to say that I don't think I will be able to help much. I more or less don't know anything about Wayland and sway.

This is my failed attempt at a good-enough solution:

swaymsg '[title="Neovim"]' focus

will focus on an instance of Neovim

Did you try using only that in the Okular setting? Does that …

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@lervag
Comment options

@DamianJLin
Comment options

@lervag
Comment options

@lervag
Comment options

@DamianJLin
Comment options

Answer selected by DamianJLin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants