aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Hovorka <[email protected]>2020-08-09 17:15:47 -0600
committerAlexis Hovorka <[email protected]>2020-08-09 17:15:47 -0600
commite7b594294cb02ab4152314c63ea16d924b373d84 (patch)
tree5182a2ed397f880725935bc63e55739182a7421d
parente077f85a1f2a5ef4503027dc645e1f9c669df5ab (diff)
[feat] Add bat config file (colorized cat)
-rw-r--r--base.yaml1
-rw-r--r--base/bat.config25
2 files changed, 26 insertions, 0 deletions
diff --git a/base.yaml b/base.yaml
index cd6250b..c2115cb 100644
--- a/base.yaml
+++ b/base.yaml
@@ -20,6 +20,7 @@
~/.bin/qr: base/qr
~/.bin/tldr: base/tldr
~/.capsesc: base/capsesc
+ ~/.config/bat/config: base/bat.config
~/.curlrc: base/curlrc
~/.gitconfig: base/gitconfig
~/.gitmessage: base/gitmessage
diff --git a/base/bat.config b/base/bat.config
new file mode 100644
index 0000000..923d4ce
--- /dev/null
+++ b/base/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="base16"
+
+# 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="--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 .ino files
+# Example 2: Use ".gitignore"-style highlighting for ".ignore" files
+#--map-syntax "*.ino:C++"
+#--map-syntax ".ignore:Git Ignore"