README (1972B)
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 53 it under the terms of the GNU General Public License as published by 54 the Free Software Foundation, either version 3 of the License, or 55 (at your option) any later version. 56 57 This file is distributed in the hope that it will be useful, 58 but WITHOUT ANY WARRANTY; without even the implied warranty of 59 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 60 GNU General Public License for more details. 61 62 You should have received a copy of the GNU General Public License 63 along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.