From f86d315c79f1ea2cfec263f412931a6a33db5179 Mon Sep 17 00:00:00 2001 From: cbreton Date: Thu, 9 Jan 2020 10:42:26 +0100 Subject: Update cheat to the last version --- dotfiles/config/cheat/conf.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 dotfiles/config/cheat/conf.yml (limited to 'dotfiles/config/cheat') diff --git a/dotfiles/config/cheat/conf.yml b/dotfiles/config/cheat/conf.yml new file mode 100644 index 0000000..f249549 --- /dev/null +++ b/dotfiles/config/cheat/conf.yml @@ -0,0 +1,39 @@ +--- +# The editor to use with 'cheat -e '. Defaults to $EDITOR or $VISUAL. +#editor: vim + +# Should 'cheat' always colorize output? +colorize: true + +# Which 'chroma' colorscheme should be applied to the output? +# Options are available here: +# https://github.com/alecthomas/chroma/tree/master/styles +style: monokai + +# Which 'chroma' "formatter" should be applied? +# One of: "terminal", "terminal256", "terminal16m" +formatter: terminal16m + +# The paths at which cheatsheets are available. Tags associated with a cheatpath +# are automatically attached to all cheatsheets residing on that path. +# +# Whenever cheatsheets share the same title (like 'tar'), the most local +# cheatsheets (those which come later in this file) take precedent over the +# less local sheets. This allows you to create your own "overides" for +# "upstream" cheatsheets. +# +# But what if you want to view the "upstream" cheatsheets instead of your own? +# Cheatsheets may be filtered via 'cheat -t ' in combination with other +# commands. So, if you want to view the 'tar' cheatsheet that is tagged as +# 'community' rather than your own, you can use: cheat tar -t community +cheatpaths: + + - name: work + path: ~/.bcheat + tags: [ work ] + readonly: false + + - name: personal + path: ~/.cheat + tags: [ personal ] + readonly: false -- cgit v1.2.1