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

Abbreviate paths in counsel-buffer-or-recentf-candidates #2687

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zzamboni
Copy link

Abbreviate paths of open buffers in counsel-buffer-or-recentf-candidates to prevent duplicated entries in the list, since the values returned by counsel-recentf-candidates (which are taken from recentf-list) are abbreviated.

With the current behavior, you get both the abbreviated and non-abbreviated versions of the filename in the list, like this:
Screen Shot 2020-09-30 at 15 39 03

Abbreviate paths of open buffers in counsel-buffer-or-recentf-candidates
to prevent duplicated entries in the list, since the values returned by
counsel-recentf-candidates (which are taken from recentf-list) are
abbreviated.
@basil-conto
Copy link
Collaborator

I wonder if setting ivy-virtual-abbreviate to abbreviate would have the same effect?
(I don't use recentf, so I can't easily check right now.)

@basil-conto
Copy link
Collaborator

I wonder if setting ivy-virtual-abbreviate to abbreviate would have the same effect?

I take that back, I see now that counsel-buffer-or-recentf-candidates does not reuse any Ivy functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants