pit-ray / win-vind

You can operate Windows with key bindings like Vim.

Home Page:https://pit-ray.github.io/win-vind/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] How do I use <click_mid>?

Salted-Bread opened this issue · comments

I often like to open things in a new tab with the middle mouse click, but I'm unable to bind it in my config.

I read that <click_mid> is supposed to be a thing here: https://pit-ray.github.io/win-vind/cheat_sheet/functions/#click_mid

But trying to add a keybind for <click_mid> just throws up an error saying it's unsupported. However, <easy_click_mid> works fine.

Do you use the latest win-vind?

If you write like the following, the middle mouse click is available.

map b <click_mid>

I'm using the latest version and sadly it's still not working.

I tried map b <click_mid>, but it still errors out.

Here is a screenshot of the error

Your screenshot shows the function scope as an error message, but I removed such scope prefixes from the win-vind for a more concise error message in the latest version.
17bb66d

Therefore, I think you use the old win-vind.

Could you check the version of win-vind again?
You can confirm the version at About in the popup menu.

Installing the newest version did fix the issue. I must have misremembered updating to a newer version. Apologies for the inconvenience.