chrishrb / gx.nvim

Implementation of gx without the need of netrw
Apache License 2.0
186 stars 19 forks source link

detach browser process #63

Open pinbraerts opened 2 weeks ago

pinbraerts commented 2 weeks ago

Thank you for the awesome plugin. I use surf browser. It launches a new browser on each xdg-open and plenary throws error 'xdg-open ...' was unable to complete in 5000 ms. I would like to get rid of this message. Should I maybe somehow modify application entry to detach xdg-open? My configuration of the plugin is basically default:

{
    "chrishrb/gx.nvim",
    keys = { { "gx", "<cmd>Browse<cr>", mode = { "n", "x" } } },
    cmd = { "Browse" },
    init = function ()
        vim.g.netrw_nogx = 1
    end,
    dependencies = { 'nvim-lua/plenary.nvim' },
    opts = {
        handler_options = {
            search_engine = "https://search.disroot.org/?q=",
        },
    },
}