YamlMode

yaml-mode.el helps you edit YAML .yml files.

Get it on http://github.com/yoshiki/yaml-mode

And also available as DebianPackage:yaml-mode.

It features font locking for data forms and comments, and some electric keys to help with block literals.


As of 2009/07/07, yaml-mode.el enforces spaces instead of TABs in yaml-mode, regardless of emacs configuration.

If you wish to have Return key automatically indent cursor on new line, add the following to emacs config:

    (add-hook 'yaml-mode-hook
        (lambda ()
            (define-key yaml-mode-map "\C-m" 'newline-and-indent)))

IvanKorotkov


CategoryModes DataModes