dotfiles/files/bat/.config/bat/config

23 lines
733 B
Plaintext

# 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.
# The theme is set by the light/dark functions
# in bashrc
# Show line numbers, Git modifications and file header (but no grid)
# --style="changes,header"
# Use italic text on the terminal (not supported on all terminals)
# --italic-text=always
# Add mouse scrolling support in less (does not work with older
# versions of "less")
--pager="less -FR"
# Use C++ syntax (instead of C) for .h header files
--map-syntax h:cpp
# Use "gitignore" highlighting for ".ignore" files
--map-syntax .ignore:.gitignore