lambdalisue / vim-gina

👣 Asynchronously control git repositories in Neovim/Vim 8
http://www.vim.org/scripts/script.php?script_id=5531
MIT License
689 stars 27 forks source link

Gina blame show author column #269

Closed timsofteng closed 4 years ago

timsofteng commented 4 years ago

Can I somehow include "author" column with name of author of change in :Gina blame?

lambdalisue commented 4 years ago

Read help

lambdalisue commented 4 years ago

:help gina and /blame and read or :help gina-blame and read

timsofteng commented 3 years ago

:help gina and /blame and read or :help gina-blame and read

I can't find this option there. Could you explain please?

lambdalisue commented 3 years ago
    --format={format}
        Format string used to construct navi line.
        (|g:gina#command#blame#formatter#format|)
        *g:gina#command#blame#formatter#format*
g:gina#command#blame#formatter#format
    A format string used to construct individual lines of a blame navi
    buffer. The following format strings are replaced by a rule which
    explained in |gina-misc-string-format|.

    "su"    A commit summary (a first line of the commit message)
    "au"    An author name of the commit
    "ma"    A current commit indication mark
    "in"    A commit SHA indicator
    "ti"    A timestamp string

    Additionally, the format is splitted by "%=" like |statusline|.

    Default: "%su%=on %ti %ma%in"
timsofteng commented 3 years ago

Thanks! I have finally did it. Why is author field not in default format?

lambdalisue commented 3 years ago

Because I think "who wrote this?" should not be the fundamental information for commits, ideally.