From 6ba64db750bedc7427ce8ec2d7a09db1eb5612b8 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Sun, 10 Apr 2022 12:10:08 +0200 Subject: [PATCH] feat: add bat config --- bat/config | 25 +++++++++++++++++++++++++ bat/install.sh | 5 +++++ 2 files changed, 30 insertions(+) create mode 100644 bat/config create mode 100755 bat/install.sh diff --git a/bat/config b/bat/config new file mode 100644 index 0000000..b8d50de --- /dev/null +++ b/bat/config @@ -0,0 +1,25 @@ +# 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="Solarized (dark)" + +# 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" diff --git a/bat/install.sh b/bat/install.sh new file mode 100755 index 0000000..c25117b --- /dev/null +++ b/bat/install.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env sh + +mkdir --parents ~/.config/bat/ +ln -svrf config ~/.config/bat/config +