README (2050B)
1 RECRUITMENTS 2 I have not used emacs and this library for a long time, 3 so I recruit maintainers or collaborators for all yaml-mode users. 4 If you are interested in maintaining or collaborating with this library, 5 please contact me. 6 7 NAME 8 yaml-mode - Simple major mode to edit YAML file for emacs 9 10 REQUIREMENTS 11 Emacs 24.1 12 13 SYNOPSIS 14 To install, just drop this file into a directory in your 15 `load-path' and (optionally) byte-compile it. To automatically 16 handle files ending in '.yml', add something like: 17 18 (require 'yaml-mode) 19 (add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode)) 20 21 to your .emacs file. 22 23 Unlike python-mode, this mode follows the Emacs convention of not 24 binding the ENTER key to `newline-and-indent'. To get this 25 behavior, add the key definition to `yaml-mode-hook': 26 27 (add-hook 'yaml-mode-hook 28 '(lambda () 29 (define-key yaml-mode-map "\C-m" 'newline-and-indent))) 30 31 DESCRIPTION 32 yaml-mode is major mode for emacs. 33 34 INSTALL 35 You can install yaml-mode typing below. 36 37 % make 38 % make install 39 40 or 41 42 % make PREFIX=/your/home/dir 43 % make install PREFIX=/your/home/dir 44 45 SETTING 46 see SYNOPSIS. 47 48 AUTHOR 49 Yoshiki Kurihara <kurihara@cpan.org> Copyright (C) 2010 by Free Software 50 Foundation, Inc. 51 52 This file is free software; you can redistribute it and/or modify it 53 under the terms of the GNU General Public License as published by the 54 Free Software Foundation; either version 2, or (at your option) any 55 later version. 56 57 This file is distributed in the hope that it will be useful, but WITHOUT 58 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 59 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 60 more details. 61 62 You should have received a copy of the GNU General Public License along 63 with GNU Emacs; see the file COPYING. If not, write to the Free Software 64 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 65 USA.