gh-blame.nvim icon indicating copy to clipboard operation
gh-blame.nvim copied to clipboard

View the PR blame of the current line

[!CAUTION] Early in development

gh-blame.nvim

image

Requirements

Install the gh CLI - see the installation instructions

Installation

Using lazy:

return {
  "dlvhdr/gh-blame.nvim",
  dependencies = { "nvim-lua/plenary.nvim", "MunifTanjim/nui.nvim" },
  keys = {
    { "<leader>gg", "<cmd>GhBlameCurrentLine<cr>", desc = "GitHub Blame Current Line" },
  },
}

TODO

  • [ ] Handle errors
  • [ ] Blame on cursor hold
  • [ ] Blame sidebar like in fugitive