polirritmico / telescope-lazy-plugins.nvim

A Telescope picker to quickly access configurations of plugins managed by lazy.nvim.
MIT License
52 stars 1 forks source link

Feature: close picker when opening in browser #7

Closed kevintraver closed 5 months ago

kevintraver commented 5 months ago

Might also make sense to add this as a config option that can be set.

polirritmico commented 5 months ago

Hi! Thanks a lot for using the plugin and taking the time for the PR!

This is already configurable, have you tried this?:

lazy_plugins = {
  mappings = {
    ["i"] = {
      ["<C-g>"] = function(bufnr)
        require("telescope").extensions.lazy_plugins.actions.open_repo_url()
        require("telescope.actions").close(bufnr)
      end,
    },
  },
kevintraver commented 5 months ago

That is a good point! Ill go ahead and close the PR.