Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tetris11
51 days ago
|
parent
|
context
|
favorite
| on:
Bat: Cat with syntax highlighting
I use it on and off, but for the life of me can't get over the issue that line wrapping is the default behaviour with no easy switch
rascul
51 days ago
[–]
the --wrap options don't do it for you?
tetris11
51 days ago
|
parent
[–]
oh yeah `--wrap never`, I guess I should setup an alias -- thanks
stephenlf
51 days ago
|
root
|
parent
[–]
I don’t even think you need an alias. There’s a bat config file (`bat —config-file` to find it). You can probably drop `—wrap never` there. I include a few different `—map-syntax` declarations there.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: