@@ -321,6 +321,34 @@ will hopefully enable both quit-if-one-screen and mouse-wheel scrolling.
321321
322322If scrolling still doesn't work for you, you can try to pass the `-S` option in addition.
323323
324+### Configuration file
325+
326+`bat` can use a config file for options to cut down on command line flags, that you want to save for each run.
327+
328+#### Location
329+
330+The default location is operation system/install location dependent (macOS: `Users/<your_user>/Library/Preferences/bat/config`). To get the path of the current location use `bat --config-file` to print out the location of the current config file path.
331+
332+You can change this with the `$BAT_CONFIG_PATH` enviroment variable.
333+
334+#### Format
335+
336+The config file is formatted just as you would pass arguments to the CLI. Here is an example:
337+
338+```
339+# Make sure that the pager gets executed
340+--paging=always
341+
342+# Always enable coloring (will send ANSI codes to pipe commands)
343+--color=always
344+
345+# Set the theme to "TwoDark"
346+--theme="TwoDark"
347+
348+# Do not display line numbers or borders
349+--decorations=never
350+```
351+
324352## Using `bat` on Windows
325353
326354`bat` mostly works out-of-the-box on Windows, but a few features may need extra configuration.