Skip to content
Discussion options

You must be logged in to vote

Ah your autocmd will never be triggered because you're matching with hostname but passing a full URL.

I think this should work:

glide.autocmds.create("UrlEnter", {
  hostname: "www.qbreader.org",
}, async () => {
  await glide.excmds.execute("mode_change ignore");
  return () => glide.excmds.execute("mode_change normal");
});

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ANewProfile
Comment options

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