-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Quick way to disable line numbers #2059
Comments
Does |
You can also supply it twice, to disable the pager. This is what I usually do when I want to copy something ( |
That does what I need, thanks. It does drop the rest of the formatting (header/borders) though but works for my use case. |
@sharkdp Can you hide / disable line numbers while reading a document? I don't always know before opening a document if I'll need to copy-paste from it. |
Is there a way to reduce the line number margin size versus completely removing it? |
I often use 'cat' to output text so I can copy and paste it from the console. But 'bat' adds line numbers by default.
I know it can be done via '--style=plain' but that's a bit much to type out for a quick cut and paste. Also the default could be changed but normally I want the line numbers. There is already a '-n' argument to enable line numbers.
It would be nice if there was a short arg to disable it. Perhaps -N (as the opposite to -n)?
The text was updated successfully, but these errors were encountered: