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/+tools/systemd/README.org

29 lines
935 B
Org Mode

#+TITLE: systemd layer
* Table of Contents :TOC_4_gh:noexport:
- [[#description][Description]]
- [[#features][Features:]]
- [[#install][Install]]
- [[#key-bindings][Key bindings]]
* Description
This layer adds support for editing =systemd= configuration files in Spacemacs.
** Features:
- Syntax highlighting
- Auto completion
- Syntax checking via =systemd-analyze=
* Install
To use this contribution add it to your =~/.spacemacs=
#+BEGIN_SRC emacs-lisp
(setq-default dotspacemacs-configuration-layers '(systemd))
#+END_SRC
* Key bindings
| Key binding | Description |
|-------------+--------------------------------------------------------------------------|
| ~SPC m h d~ | Systemd open the directives documentation |
| ~SPC m h o~ | Systemd open documentation (if a =\=Documentation= directive is provided |