diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2022-05-03 14:11:27 +0200 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2022-05-03 14:11:27 +0200 |
commit | c1d65d187c0adcb6c36c4f8133814eac2b4bfaf1 (patch) | |
tree | 3d6bb6543f8458059c59da9c4b30fcb663d1fd68 /.config/bat/config | |
parent | 96b1806e6ba0102ebcc377296ff9cdd70d76cc5a (diff) |
bat file previewer config
Diffstat (limited to '.config/bat/config')
-rw-r--r-- | .config/bat/config | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.config/bat/config b/.config/bat/config new file mode 100644 index 0000000..973fa1f --- /dev/null +++ b/.config/bat/config @@ -0,0 +1,29 @@ +# 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="TwoDark" + +# Show line numbers, Git modifications and file header (but no grid) +--style="numbers,changes,header" + +# 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" +--map-syntax='*.conf:INI' |