Skip to content

Instantly share code, notes, and snippets.

@phdoerfler
Created July 7, 2014 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phdoerfler/c184915ef5d91b943026 to your computer and use it in GitHub Desktop.
Save phdoerfler/c184915ef5d91b943026 to your computer and use it in GitHub Desktop.
cheatsheet do
title 'Mercurial' # Will be displayed by Dash in the docset list
docset_file_name 'mercurial' # Used for the filename of the docset
keyword 'hg' # Used as the initial search keyword (listed in Preferences > Docsets)
introduction 'Mercurial Cheatsheet' # Optional, can contain Markdown or HTML
# A cheat sheet must consist of categories
category do
id '.hgignore' # Must be unique and is used as title of the category
entry do
name 'Syntax' # A short name, can contain Markdown or HTML
notes <<-'END'
```
syntax: regexp
syntax: glob
```
END
end
entry do
name 'RegExp Example'
notes <<-'END'
```
^\.classpath$
^\.project$
^\.scala_dependencies$
^properties\.cfg$
^\.DS_Store$
^\.cache$
^project/target
^project/plugins/target
^project/plugins/project
^project.target.$
^target$
^.target$
^.target.$
^.history$
```
END
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment