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

32 lines
955 B
Org Mode
Raw Normal View History

2016-01-24 19:31:22 +00:00
#+TITLE: systemd layer
2019-05-02 21:49:30 +00:00
#+TAGS: layer|tool
2018-09-19 03:54:47 +00:00
* Table of Contents :TOC_4_gh:noexport:
2017-05-22 14:16:12 +00:00
- [[#description][Description]]
- [[#features][Features:]]
2017-05-22 14:16:12 +00:00
- [[#install][Install]]
- [[#key-bindings][Key bindings]]
2016-01-24 19:31:22 +00:00
* Description
This layer adds support for editing =systemd= configuration files in Spacemacs.
** Features:
- Syntax highlighting
- Auto completion
- Syntax checking via =systemd-analyze=
2016-01-24 19:31:22 +00:00
* Install
To use this contribution add it to your =~/.spacemacs=
2018-09-19 03:54:47 +00:00
#+BEGIN_SRC emacs-lisp
2016-01-24 19:31:22 +00:00
(setq-default dotspacemacs-configuration-layers '(systemd))
2018-09-19 03:54:47 +00:00
#+END_SRC
2016-01-24 19:31:22 +00:00
* 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 |