2019-10-20 16:02:28 +02:00
|
|
|
---
|
|
|
|
# The editor to use with 'cheat -e <sheet>'. Defaults to $EDITOR or $VISUAL.
|
2022-08-09 02:14:27 +02:00
|
|
|
editor: EDITOR_PATH
|
2019-10-20 16:02:28 +02:00
|
|
|
|
|
|
|
# Should 'cheat' always colorize output?
|
2022-07-04 22:06:37 +02:00
|
|
|
colorize: false
|
2019-10-20 16:02:28 +02:00
|
|
|
|
|
|
|
# Which 'chroma' colorscheme should be applied to the output?
|
|
|
|
# Options are available here:
|
|
|
|
# https://github.com/alecthomas/chroma/tree/master/styles
|
2022-08-09 01:45:32 +02:00
|
|
|
style: monokai
|
2019-10-20 16:02:28 +02:00
|
|
|
|
|
|
|
# Which 'chroma' "formatter" should be applied?
|
|
|
|
# One of: "terminal", "terminal256", "terminal16m"
|
2022-08-09 01:45:32 +02:00
|
|
|
formatter: terminal256
|
2019-10-20 16:02:28 +02:00
|
|
|
|
2022-08-03 02:27:56 +02:00
|
|
|
# Through which pager should output be piped?
|
2022-08-07 16:16:52 +02:00
|
|
|
# 'less -FRX' is recommended on Unix systems
|
|
|
|
# 'more' is recommended on Windows
|
|
|
|
pager: PAGER_PATH
|
2020-06-26 00:21:51 +02:00
|
|
|
|
2019-10-20 16:02:28 +02:00
|
|
|
# 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?
|
2019-11-05 15:53:21 +01:00
|
|
|
# Cheatsheets may be filtered via 'cheat -t <tag>' in combination with other
|
2019-10-20 16:02:28 +02:00
|
|
|
# commands. So, if you want to view the 'tar' cheatsheet that is tagged as
|
2019-11-05 15:53:21 +01:00
|
|
|
# 'community' rather than your own, you can use: cheat tar -t community
|
2019-10-20 16:02:28 +02:00
|
|
|
cheatpaths:
|
|
|
|
# Paths that come earlier are considered to be the most "global", and will
|
|
|
|
# thus be overridden by more local cheatsheets. That being the case, you
|
|
|
|
# should probably list community cheatsheets first.
|
|
|
|
#
|
2020-03-07 02:17:26 +01:00
|
|
|
# Note that the paths and tags listed below are placeholders. You may freely
|
2019-10-20 16:02:28 +02:00
|
|
|
# change them to suit your needs.
|
2020-01-29 20:01:19 +01:00
|
|
|
#
|
2020-03-07 02:17:26 +01:00
|
|
|
# Community cheatsheets must be installed separately, though you may have
|
|
|
|
# downloaded them automatically when installing 'cheat'. If not, you may
|
|
|
|
# download them here:
|
2020-01-29 20:01:19 +01:00
|
|
|
#
|
|
|
|
# https://github.com/cheat/cheatsheets
|
|
|
|
#
|
|
|
|
# Once downloaded, ensure that 'path' below points to the location at which
|
|
|
|
# you downloaded the community cheatsheets.
|
2019-10-20 16:02:28 +02:00
|
|
|
- name: community
|
2020-03-07 02:17:26 +01:00
|
|
|
path: COMMUNITY_PATH
|
2019-10-20 16:02:28 +02:00
|
|
|
tags: [ community ]
|
|
|
|
readonly: true
|
|
|
|
|
|
|
|
# If you have personalized cheatsheets, list them last. They will take
|
|
|
|
# precedence over the more global cheatsheets.
|
|
|
|
- name: personal
|
2020-03-07 02:17:26 +01:00
|
|
|
path: PERSONAL_PATH
|
2019-10-20 16:02:28 +02:00
|
|
|
tags: [ personal ]
|
|
|
|
readonly: false
|
2020-01-20 18:34:48 +01:00
|
|
|
|
2020-03-07 02:17:26 +01:00
|
|
|
# While it requires no configuration here, it's also worth noting that
|
|
|
|
# 'cheat' will automatically append directories named '.cheat' within the
|
|
|
|
# current working directory to the 'cheatpath'. This can be very useful if
|
|
|
|
# you'd like to closely associate cheatsheets with, for example, a directory
|
|
|
|
# containing source code.
|
2020-01-20 18:34:48 +01:00
|
|
|
#
|
|
|
|
# Such "directory-scoped" cheatsheets will be treated as the most "local"
|
|
|
|
# cheatsheets, and will override less "local" cheatsheets. Likewise,
|
|
|
|
# directory-scoped cheatsheets will always be editable ('readonly: false').
|