Ethan P
0e4e10edb6
Add --squeeze-limit to specify max number of consecutive empty lines
...
Co-authored-by: einfachIrgendwer0815 <85333734+einfachIrgendwer0815@users.noreply.github.com>
3 months ago
Ethan P
c36ed32816
Add --squeeze/-s option
...
Co-authored-by: einfachIrgendwer0815 <85333734+einfachIrgendwer0815@users.noreply.github.com>
3 months ago
Oliver looney
9239b125b1
added a flag to config for setting terminal title
4 months ago
Anomalocaridid
e32ad0b048
Add `$LESSOPEN` and `$LESSCLOSE` support ( #2444 )
9 months ago
einfachIrgendwer0815
8f99a78cf1
Print non-printable characters using caret notation ( #2443 )
...
When the new flag is set, non-printable characters are printed using caret notation.
1 year ago
Marcin Puc
863d9cacd0
Add various other code refactorings
3 years ago
Martin Nordholts
25fa577cd0
Make 'build-assets' an optional capability for application
...
Also structure features a bit more clever to avoid duplication of
feature dependency declarations.
3 years ago
Martin Nordholts
b040efff79
Support a hidden arg --no-custom-assets that skips loading assets from the cache
3 years ago
Ethan P
f874c8e4db
Use less binary specified in bat config for --diagnostic
3 years ago
sharkdp
23afc8e90c
Skip non-file inputs when using --diff
4 years ago
sharkdp
82e7786e74
Implementation of 'bat --diff'
...
This adds a new `--diff` option that can be used to only show lines
close to Git changes (added/removed/modified lines). The amount of
additional context can be controlled with `--diff-context=N`.
closes #23
4 years ago
sharkdp
8961f7aef8
Move PagingMode to separate module
4 years ago
sharkdp
a8f759c080
Rename wrap => wrapping
4 years ago
sharkdp
26c951fec4
Fix warnings, sort imports, input from string
4 years ago
sharkdp
590960f7f5
Completely refactor 'input' module
4 years ago
sharkdp
f8d0956893
Rename InputFile => Input
4 years ago
sharkdp
1dc328ad49
Separate inputs from config
4 years ago
sharkdp
057e4eced1
Large refactoring towards a better builder structure
4 years ago
sharkdp
d5a31dc2ec
Remove commented-out code
4 years ago
Kyle Criddle
04fa84aea7
Moved user_provided_filename to be contained within OrdinaryFile struct
4 years ago
David Tolnay
42e3825daf
Updates for review of PR 899
4 years ago
David Tolnay
014d754588
Move paging support behind a feature
4 years ago
Kyle Criddle
131d113ff5
Merge branch 'fix_654_stdin_filename' of github.com:neuronull/bat into fix_654_stdin_filename
4 years ago
Kyle Criddle
38178fedf4
Merge branch 'master' into fix_654_stdin_filename
4 years ago
Kyle Criddle
8adce9fae8
Implement --file-name<name> option
...
- can specify filename to be displayed when printing.
- useful for when piping data from STDIN
Closes #654
4 years ago
sharkdp
bd8a13dbc9
Initial implementation of glob-based syntax mapping
4 years ago
sharkdp
bb0a3d586e
Simplify public API module structure
4 years ago
sharkdp
84ba323b1c
Rename output component to 'style compinent', move wrap to separate module
4 years ago
sharkdp
9b8ddb24d1
move Config struct to separate file
4 years ago
Fahmi Akbar Wildana
a2ee753b25
Move config.rs into src/bin/bat/
5 years ago
Daniele Esposti
82f14121bd
Applied linter fixes
5 years ago
Daniele Esposti
a21ae614e6
Migrated to Rust 2018
5 years ago
Ricky
558134f6c8
Changed to unwrap methods, added integration tests
6 years ago
Ricky
1dd57e6d7e
Ran rust fmt
6 years ago
Ricky
20ba84d1fa
Added in environment variable and the result is a file check in config.rs
6 years ago
sharkdp
8dc7e2efa3
Add --config-file option
6 years ago
sharkdp
5bff4548be
Add BAT_OPTS environment variable
6 years ago
sharkdp
866b9e16a8
Add error handling
6 years ago
sharkdp
c19c704a43
Add more tests
6 years ago
sharkdp
693bd5929d
Add possibility for spaces on a single line
6 years ago
sharkdp
8275b0436d
Add simple configuration file
...
This allows users to create simple configuration file
(`~/.config/bat/config` on Linux) that has the following format:
```bash
--flag1
--flag2
--option1=value1
# lines beginning with '#' are ignored
--option2=value2
# empty lines and trailing whitespace are also ignored
--option3=value3
```
6 years ago