Fetching contributors…
Cannot retrieve contributors at this time
66 lines (48 sloc) 2 KB
I have not used emacs and this library for a long time,
so I recruit maintainers or collaborators for all yaml-mode users.
If you are interested in maintaining or collaborating with this library,
please contact me.
yaml-mode - Simple major mode to edit YAML file for emacs
Emacs 24.1
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)))
yaml-mode is major mode for emacs.
You can install yaml-mode typing below.
% make
% make install
% make PREFIX=/your/home/dir
% make install PREFIX=/your/home/dir
Yoshiki Kurihara <> 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,