/yaml-mode

The emacs major mode for editing files in the YAML data serialization format.

Primary LanguageEmacs Lisp

NAME
    yaml-mode - Simple major mode to edit YAML file for emacs

SYNOPSIS
    To install, just drop this file into a directory in your
    `load-path' and (optionally) byte-compile it.  To automatically
    handle files ending in '.yml', add something like:

    (require 'yaml-mode)
    (add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode))

    to your .emacs file.

    Unlike python-mode, this mode follows the Emacs convention of not
    binding the ENTER key to `newline-and-indent'.  To get this
    behavior, add the key definition to `yaml-mode-hook':

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

DESCRIPTION
    yaml-mode is major mode for emacs.

INSTALL
    You can install yaml-mode typing below.

        % make
        % make install

        or

        % make PREFIX=/your/home/dir
        % make install PREFIX=/your/home/dir

SETTING
    see SYNOPSIS.

AUTHOR
    Yoshiki Kurihara <kurihara@cpan.org> Copyright (C) 2010 by Free Software
    Foundation, Inc.

    This file is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by the
    Free Software Foundation; either version 2, or (at your option) any
    later version.

    This file is distributed in the hope that it will be useful, but WITHOUT
    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
    more details.

    You should have received a copy of the GNU General Public License along
    with GNU Emacs; see the file COPYING. If not, write to the Free Software
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
    USA.