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

omitCenter asymmetrically #503

Open
Rizhiy opened this issue Jan 27, 2022 · 3 comments
Open

omitCenter asymmetrically #503

Rizhiy opened this issue Jan 27, 2022 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@Rizhiy
Copy link

Rizhiy commented Jan 27, 2022

Is your feature request related to a problem? Please describe.
I have a lot of log files which start with the same prefix and are quite long.
The important part (such as date) is at the end of the filename, so I use omitCenter to see it.
Unfortunately, sometimes I can't see the whole of the right side.
Left side is mostly the same, so not as important.

Describe the solution you'd like
Having syntax with something like [filename keepLeft 3 omitCenter 1 fillRight 1] where only 3 characters at the start are shown and the rest is end of filename would be better.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@weirongxu weirongxu self-assigned this Jan 27, 2022
@weirongxu weirongxu added the enhancement New feature or request label Jan 27, 2022
@Rizhiy Rizhiy changed the title omitCenter asymmetrically omitCenter asymmetrically Jan 27, 2022
@weirongxu
Copy link
Owner

If your filename coolumn doesn't use omitCenter, but just a [filename], in this case, it's possible to display the entire content?

@weirongxu
Copy link
Owner

This part of the feature is really missing a lot of documentation, I will think about how to improve it later. In addition, there are actually two modifiers called omitLeft and omitRight used to ignore different positions.

@weirongxu weirongxu added the documentation Improvements or additions to documentation label Jan 27, 2022
@Rizhiy
Copy link
Author

Rizhiy commented Jan 27, 2022

omitLeft seems to do what I need, but as you said it is not mentioned anywhere in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants