Skip to content

tlucanti/git-permalink.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

git-permalink.nvim

Create a per‑line permalink for the current file on GitHub, GitLab or Bitbucket and copy it to the system clipboard.

Features

  • Works with public and self‑hosted GitHub/GitLab/Bitbucket instances.
  • Handles private repositories, custom hostnames and SSH URLs.
  • Supports both branch names and detached‑HEAD SHA.
  • Zero‑dependency – pure Lua, works with any Neovim ≥ 0.9
  • Full lazy.nvim integration (key‑mapping, command, options).

Installation

default configuration:

-- lazy.nvim
require("lazy").setup({
  {
    "tlucanti/git-permalink.nvim",
    opts = {
      remote_name = "origin",
      lhs = "<C-l>",
      mode = "n",
    }
    cmd = "GitPermalink",
  },
})

About

A Neovim plugin that generates a per‑line permalink for the current file on GitHub, GitLab, or Bitbucket

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages