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

Does ivy has similar search result rendering function like color-moccur? #1655

Open
ztlevi opened this issue Jul 7, 2018 · 5 comments
Open

Comments

@ztlevi
Copy link

ztlevi commented Jul 7, 2018

This is a feature request for ivy-occur and related function.

I am walking through a package called color-moccur has a fantastic result output format.

It separates the file paths and their line, making the output much clear, especially when we split the window. It will also colorize the matching part of the current buffer and the result buffer showing below. I am wondering if there is a similar rendering function in ivy?

image

@basil-conto
Copy link
Collaborator

The closest Ivy-related functionality I'm aware of is the command ivy-occur, which you can invoke via C-cC-o during any Ivy completion session (e.g. during counsel-git-grep) to save the current propertised candidates in a new buffer.

See (ivy) Saving the current completion session to a buffer for more on this.

@ztlevi
Copy link
Author

ztlevi commented Jul 7, 2018

Thanks for the reply.

I am using ivy-occur. That's why I raise this issue. I just wanna a better output format😀

@basil-conto
Copy link
Collaborator

In that case I suggest retitling this issue to emphasise that it's a feature request for ivy-occur and related functions, as I don't think the desired formatting is implemented yet.

@basil-conto
Copy link
Collaborator

In the meantime, you can use ivy-set-occur to modify the output of particular commands.

@ztlevi
Copy link
Author

ztlevi commented Jul 7, 2018

Ok, I will try to take a look at the source code of both projects. Thanks.

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

No branches or pull requests

2 participants