-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conf(bat): configure bat defaults + theme
Using `ansi` theme by default as it has can adjust to dark or light base color scheme transparently, without having to script anything. Context sharkdp/bat#1746.
- Loading branch information
1 parent
c5df47a
commit dfe6562
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# This is `bat`s configuration file. Each line either contains a comment or | ||
# a command-line option that you want to pass to `bat` by default. You can | ||
# run `bat --help` to get a list of all possible configuration options. | ||
|
||
# Specify desired highlighting theme (e.g. "TwoDark"). Run `bat --list-themes` | ||
# for a list of all available themes | ||
#--theme="OneHalfLight" | ||
#--theme="OneHalfDark" | ||
--theme="ansi" | ||
|
||
# Enable this to use italic text on the terminal. This is not supported on all | ||
# terminal emulators (like tmux, by default): | ||
#--italic-text=always | ||
|
||
# Uncomment the following line to disable automatic paging: | ||
#--paging=never | ||
|
||
# Uncomment the following line if you are using less version >= 551 and want to | ||
# enable mouse scrolling support in `bat` when running inside tmux. This might | ||
# disable text selection, unless you press shift. | ||
#--pager="less --RAW-CONTROL-CHARS --quit-if-one-screen --mouse" | ||
|
||
# Syntax mappings: map a certain filename pattern to a language. | ||
# Example 1: use the C++ syntax for Arduino .ino files | ||
# Example 2: Use ".gitignore"-style highlighting for ".ignore" files | ||
#--map-syntax "*.ino:C++" | ||
#--map-syntax ".ignore:Git Ignore" |