diff --git a/lua/gx/helper.lua b/lua/gx/helper.lua index 95d83cd..fa59918 100644 --- a/lua/gx/helper.lua +++ b/lua/gx/helper.lua @@ -32,7 +32,7 @@ end -- check that cursor on uri in normal mode function M.check_if_cursor_on_url(mode, i, j) - if mode ~= "n" then + if mode ~= "n" or mode ~= "c" then return true end