-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add a more terminal-friendly command layout #1187
Comments
Thank you for the detailed feedback.
That hat been discussed multiple times. See e.g. #549, #296, #467, #1177, #939
I don't understand?
See #1053 |
Oh, I missed the "toggle" keyword 😕
Basically the reverse of this, without the sidebar # Markdown example
...
----
File:
---- (I'm sorry I don't have access to a textual bat output right now) It looks weird, prohibits git-markers, but it would be a minimal solution to this (not considering the already-mentioned tickets ofc) |
You can already do this by adding
to your config file. |
I meant:
which |
If it's going to work for a single file only, why not leave out the header part completely? |
True dat. I didn't think of it. |
I take this to mean that this can be closed? |
Well, I don't know what would help more, given that bundled pager is already in planning and since my idea of header-becoming-footer is not getting traction... I am now using the new configuration, and I feel that "the bat I know" is no longer there. |
Hm. I'm not really sure how we could help with that? |
I have been trying to use bat as a drop-in replacement to cat, and routinely I fall into various small problems.
Today, I want to talk about line numbers.
Sometimes I want, while seeing a file, to copy a portion of it.
At the same time, I find line numbers useful.
The above give me an impass:
less
' line numbers will add a +3 offset (separator, filename, separator)With all the aforementioned, I propose a new layout theme, that starts with the file, and leads with whatever else (separator, filename, separator). With that, using
less
'-N
becomes a trivial solution to this issue.Or implement
less
inbat
😜The text was updated successfully, but these errors were encountered: