vim-dirvish icon indicating copy to clipboard operation
vim-dirvish copied to clipboard

show the metadata next to filename

Open TamaMcGlinn opened this issue 2 years ago • 1 comments

There's a feature in the original Emacs dirvish that would be great to have. Using the attribute git-msg you can see the last commit that modified a file or directory, just like how it is shown on github/gitlab.

image

As far as I can find, there is not yet any way to do this in dirvish; it probably makes sense to make a separate plugin for this, but any pointers would be much appreciated.

TamaMcGlinn avatar May 29 '23 09:05 TamaMcGlinn

a feature in the original Emacs dirvish ...

vim-drivish is the original 😏 , from the readme :

The name dirvish is a tribute to vim-dirvish.

P.S. the name "dirvish" has at least three puns:

  1. dir = "directory"
  2. vi = vi/vim
  3. sh = shell

The last two don't apply to the emacs dirvish! Though, it looks like a cool plugin.

Anyway... now that Vim and Nvim have "virtual text", vim-dirvish should add a hook similar to dirvish#add_icon_fn, perhaps named something like dirvish#add_overlay(). Then plugins could add virtual text next to filenames.

justinmk avatar Jun 04 '23 00:06 justinmk