Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 920 Bytes

README.md

File metadata and controls

41 lines (28 loc) · 920 Bytes

blame.nvim

Neovim plugin for showing git blame written in lua

Screen_Recording_2023-06-20_at_1_59_10_PM_AdobeExpress

Installation & Usage

  • lazy.nvim

    {
      "sairajchouhan/blame.nvim",
      opts = {},
    }
  • packer.nvim

    use({
      "sairajchouhan/blame.nvim",
      config = function()
        require("blame").setup()
      end,
    })

Commands

There are 4 user commands

  • BlameLine - shows git blame of current line and updates blame if cursor position changes
  • BlameLineOff - turns of the git blame
  • BlameLineToggle - toggles blame on and off
  • BlameLineOnce - shows blame for current line just once, does not update blame when cursor position changes;