Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show the metadata next to filename #240

Open
TamaMcGlinn opened this issue May 29, 2023 · 1 comment
Open

show the metadata next to filename #240

TamaMcGlinn opened this issue May 29, 2023 · 1 comment

Comments

@TamaMcGlinn
Copy link

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.

@justinmk
Copy link
Owner

justinmk commented Jun 4, 2023

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 justinmk changed the title How to show the last commit that modified a file or directory show the metadata next to filename Jun 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants