/README
http://github.com/yoshiki/yaml-mode · #! · 65 lines · 48 code · 17 blank · 0 comment · 0 complexity · 7abeb4096ece1a3ce5fb453cb3dc0404 MD5 · raw file
- RECRUITMENTS
- 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.
- NAME
- yaml-mode - Simple major mode to edit YAML file for emacs
- REQUIREMENTS
- Emacs 24.1
- 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.