All Projects โ†’ f-person โ†’ Git Blame.nvim

f-person / Git Blame.nvim

Licence: gpl-3.0
Git Blame plugin for Neovim written in Lua

Programming Languages

lua
6591 projects

Labels

Projects that are alternatives of or similar to Git Blame.nvim

Close Buffers.vim
๐Ÿ“– Quickly close (bdelete) several buffers at once ๐Ÿ“•
Stars: โœญ 99 (-13.16%)
Mutual labels:  neovim
Nmux
A multiplexer for Neovim processes
Stars: โœญ 107 (-6.14%)
Mutual labels:  neovim
Coc Html
Html language server extension for coc.nvim.
Stars: โœญ 113 (-0.88%)
Mutual labels:  neovim
Vim Follow My Lead
Vim plugin for showing all your <Leader> mappings in a readable table including the descriptions.
Stars: โœญ 100 (-12.28%)
Mutual labels:  neovim
Nvim Toggleterm.lua
A neovim lua plugin to help easily manage multiple terminal windows
Stars: โœญ 102 (-10.53%)
Mutual labels:  neovim
Neovim
Vim-fork focused on extensibility and usability
Stars: โœญ 49,389 (+43223.68%)
Mutual labels:  neovim
Mac Bootstrap
๐Ÿ’ป Provision a new Mac for web development with dotfiles + Fish/Zsh, Neovim, and Tmux
Stars: โœญ 96 (-15.79%)
Mutual labels:  neovim
Nvim Treesitter Context
Show code context
Stars: โœญ 113 (-0.88%)
Mutual labels:  neovim
Dotfiles
My dotfiles for Archlinux and Windows
Stars: โœญ 1,419 (+1144.74%)
Mutual labels:  neovim
Ubuntu On Steroids
Developer setup & configuration guide for Ubuntu.
Stars: โœญ 111 (-2.63%)
Mutual labels:  neovim
Ncm R
R autocompletion for Neovim and vim 8 ๐Ÿ“ ๐Ÿ“Š โšก๏ธ
Stars: โœญ 102 (-10.53%)
Mutual labels:  neovim
Denops.vim
๐Ÿœ An ecosystem of Vim/Neovim which allows developers to write plugins in Deno
Stars: โœญ 102 (-10.53%)
Mutual labels:  neovim
Toast.vim
๐Ÿž Toast! A colorful, medium-contrast color scheme with full Vim and Neovim support and automatic light and dark variants. Easy to read without frying your retinae.
Stars: โœญ 108 (-5.26%)
Mutual labels:  neovim
Vim current word
Plugin highlighting word under cursor and all of its occurences
Stars: โœญ 100 (-12.28%)
Mutual labels:  neovim
Nvim Ts Rainbow
๐ŸŒˆ Rainbow parentheses for neovim using tree-sitter ๐ŸŒˆ
Stars: โœญ 108 (-5.26%)
Mutual labels:  neovim
Dotfiles
๐Ÿ’ป Use command line interface manager for macOS configuration.
Stars: โœญ 97 (-14.91%)
Mutual labels:  neovim
Fzf
๐ŸŒธ A command-line fuzzy finder
Stars: โœญ 40,965 (+35834.21%)
Mutual labels:  neovim
Nvim Example Python Plugin
A simple Neovim Python plugin suitable as a template.
Stars: โœญ 115 (+0.88%)
Mutual labels:  neovim
Nvim Autopairs
autopairs for neovim written by lua
Stars: โœญ 112 (-1.75%)
Mutual labels:  neovim
Polka
๐Ÿข dotless files - plz no steel (only cardboard) (sponsored by https://github.com/buffet/kiwmi, plz star & contribute)
Stars: โœญ 109 (-4.39%)
Mutual labels:  neovim

git-blame.nvim

A git blame plugin for Neovim written in Lua

Installation

Using vim-plug

Plug 'f-person/git-blame.nvim'

The Why

There were several Vim plugins providing this functionality, however most of them were written in VimScript and didn't work well for me. coc-git also had option for showing blame info, it worked really well for me, I like it. However, recently I decided to switch to Neovim's builtin LSP instead of using CoC and having something running on Node.js just for git blame was not the best thing.

Demo

demo

Configuration

Enabled

Enables git-blame.nvim on neovim startup. You can toggle git blame messages on/off with the :GitBlameToggle command.

Default: 1

let g:gitblame_enabled = 0

Message template

The template for the blame message that will be shown.

Default: ' <author> โ€ข <date> โ€ข <summary>'

Available options: <author>, <committer>, <date>, <committer-date>, <summary>, <sha>

let g:gitblame_message_template = '<summary> โ€ข <date> โ€ข <author>'

Date format

The format of the date fields.

Default: %c

Available options:

%a	abbreviated weekday name (e.g., Wed)
%A	full weekday name (e.g., Wednesday)
%b	abbreviated month name (e.g., Sep)
%B	full month name (e.g., September)
%c	date and time (e.g., 09/16/98 23:48:10)
%d	day of the month (16) [01-31]
%H	hour, using a 24-hour clock (23) [00-23]
%I	hour, using a 12-hour clock (11) [01-12]
%M	minute (48) [00-59]
%m	month (09) [01-12]
%p	either "am" or "pm" (pm)
%S	second (10) [00-61]
%w	weekday (3) [0-6 = Sunday-Saturday]
%x	date (e.g., 09/16/98)
%X	time (e.g., 23:48:10)
%Y	full year (1998)
%y	two-digit year (98) [00-99]
%%	the character `%ยด
let g:gitblame_date_format = '%d/%m/%Y'

TODO

  • Date ago format for dates

Thanks To

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].