aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/config/cheat/conf.yml
blob: df3c33355968da137a5ef0f9dd7c877270ebba3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
# The editor to use with 'cheat -e <sheet>'. 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 <tag>' 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: community
    path: /usr/share/cheat/cheatsheets/community
    tags: [ community ]
    readonly: true

  - name: personal
    path: ~/.pcheat
    tags: [ personal ]
    readonly: false

  - name: work
    path: ~/.bcheat
    tags: [ work ]
    readonly: false