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

When'll you use bat, instead of git diff plus Vim plus less? #76

Closed
D3Hunter opened this issue May 7, 2018 · 3 comments
Closed

When'll you use bat, instead of git diff plus Vim plus less? #76

D3Hunter opened this issue May 7, 2018 · 3 comments
Labels
question Further information is requested

Comments

@D3Hunter
Copy link

D3Hunter commented May 7, 2018

When'll you use bat, instead of git diff plus Vim plus less?

i use:
git diff for viewing file change with context, i think that's enough.
vim for editing and viewing with syntax highlighting
less for viewing and searching plain files, specifically log files

As of bat, i installed and tried it, it's kind of cool but i don't need it in normal work.
what's your thoughts?

@sharkdp sharkdp added the question Further information is requested label May 7, 2018
@sharkdp
Copy link
Owner

sharkdp commented May 7, 2018

I use it because

  • I can save a few keys when I only want to look at a file (as compared to vim FILE, :q<ENTER>).
  • I can easily view multiple files at once (bat src/*.rs)
  • I like syntax highlighting. Everywhere. Even when reviewing git modifications.
  • It has superior syntax-highlighting (as compared to vim; this is my current feeling.. I don't have proof).

.. and that's it (for now). People might find other reasons to use it - or they might not. If the existing tools work for you, that's also fine.

@D3Hunter
Copy link
Author

D3Hunter commented May 8, 2018

I like syntax highlighting. Everywhere. Even when reviewing git modifications.

syntax highlighting would be good when reviewing git modifications, but viewing the whole file is not, i want to focus the part that has changed, specifically when the file is quite long, say handreds of lines.

@sharkdp
Copy link
Owner

sharkdp commented May 8, 2018

Please see #23.

@D3Hunter D3Hunter closed this as completed May 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants