This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/asciidoc
justbur 6eab954afe Use + instead of ! for layer categories
Helm seems to treat "!" specially in pattern matching, so having a ! in
the pattern string when traversing directories is problematic. This
change fixes #2737, because as far as I can tell "+" has no special
meaning in a helm pattern.

Of course, we can choose a different character, but I'm fond of "+" as
representing "more layers here".
2015-09-11 00:13:51 -04:00
..
packages.el
README.org

Asciidoc contribution layer for Spacemacs

Description

This layer adds AsciiDoc markup language support to Spacemacs.

Feature

  • asciidoc format support via adoc-mode
  • `.adoc` files are associated with `adoc-mode` by default

Install

To use this contribution add it to your `~/.spacemacs`

(setq-default dotspacemacs-configuration-layers '(asciidoc))

Key bindings

Element insertion

Key Binding Description
SPC m h 1 Insert title level 1
SPC m h I Insert title level 1 (the most important one)
SPC m h 2 Insert title level 2
SPC m h i Insert title level 2 (the most usual one)
SPC m h 3 Insert title level 3
SPC m h 4 Insert title level 4
SPC m h 5 Insert title level 5
SPC m h 5 Insert title level 5
SPC m x b Boldface selected
SPC m x i Italicize selected

Promotion, Demotion

Key Binding Description
M-h Promote title level
M-l Denote title level