/README

http://github.com/yoshiki/yaml-mode · #! · 65 lines · 48 code · 17 blank · 0 comment · 0 complexity · 7abeb4096ece1a3ce5fb453cb3dc0404 MD5 · raw file

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