Skip to content

Show all context #191

@allenryb

Description

@allenryb

I have a file which contains a very long line. When I use rg to search a word, the latter part will be collapsed as "[...]".

For example, the long line is

The ripgrep executable to use. Could be an absolute path or just the base name if the executable is in the path. The default is using executable-find to locate the command. If you want to use this package with tramp it might be better to set it to just “rg” in order to let the OS find the binary where it’s invoked. From 27.1, the tramp use case is by default handled automatically. See rg-executable-per-connection for details.The ripgrep executable to use. Could be an absolute path or just the base name if the executable is in the path. The default is using executable-find to locate the command. If you want to use this package with tramp it might be better to set it to just “rg” in order to let the OS find the binary where it’s invoked. From Emacs 27.1, the tramp use case is by default handled automatically. 

I use rg to search Emacs which is in the last sentence, the output is

File: all.txt
   1 764 The ripgrep executable to use. Could be an absolute path or just the base name if the executable is in the path. The default is using executable-find to locate the command. If you want to use this package with tramp it might be better to set it to just “rg” in order to let the OS find the binary where it’s invoked. From 27.1, the tramp use case is by default handled[...]

How to make the result buffer show all context with non-collapsing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions