Giter Site home page Giter Site logo

blame.nvim's Introduction

🫵 blame.nvim

blame.nvim is a fugitive.vim style git blame visualizer for Neovim.

Window: window_blame_cut

Virtual: virtual_blame_cut

Same commits are highlighted in the same color

Installation

{
  "FabijanZulj/blame.nvim"
}

Usage

The following commands are used:

  • ToggleBlame [mode] - Toggle the blame window or virtual text. If no mode is provided it opens the window type
  • EnableBlame [mode] - Enables the blame window or virtual text. If no mode is provided it opens the window type
  • DisableBlame - Disables the blame window or virtual text whichever is currently open

There are two modes:

  • window - fugitive style window to the left of the window
  • virtual - blame shown in a virtual text floated to the right

Configuration

These are the fields you can configure by passing them to the require('blame').setup({}) function:

  • width - number - fixed width of the window (default: width of longest blame line + 8)
  • date_format - string - Pattern for the date (default: "%Y/%m/%d %H:%M")
  • virtual_style - "right_align" or "float" - Float moves the virtual text close to the content of the file. (default : "right_align")
  • merge_consecutive - boolean - Merge consecutive blames that are from the same commit

blame.nvim's People

Contributors

fabijanzulj avatar ckolkey avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.