Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

links.nvim

Neovim plugin to open links in your default browser (or copy to clipboard when in an SSH session).

Installation

Using Lazy:

{
    "jayzone91/links.nvim",
    cmd = {"OpenLink"},
    opts = function()
        -- Default Config
        local expanders = require("links.expanders")
        return {
            expanders = {
                -- expands "{user}/{repo}" to the github repo URL
                expanders.github,
            }
        }
    end,
    config = function(_, opts)
        require("links").setup(opts)
    end,
    keys = {
        {
            "gx",
            ":OpenLink<CR>",
            desc = "Open Link under the Cursor"
        }
    }
}

About

a little plugin to open links from neovim on your browser even if netrw is disabled

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages