Yaml
Jump to navigation
Jump to search
How to deal with (large) yaml files on Emacs ?
Packages
The following packages, if not said otherwise, are available on Melpa.
Syntax highlighting
With yaml-mode: M-x package-install RET yaml-mode RET.
indent-tools allows to navigate a file by blocks of indentation, which is what we want for yaml. It allows also to indent blocks, fold, comment, kill them, etc.
Highlight the levels of indentation
That's possible with highlight-indentation: M-x highlight-indentation-current-column-mode for instance.
Folding
See Folding. A solution is yafolding (in MELPA) or indent-tools (see above).