├── ed-mode.el ├── ed-mode-tests.el ├── README.md └── COPYING /ed-mode.el: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanprior/ed-mode/HEAD/ed-mode.el -------------------------------------------------------------------------------- /ed-mode-tests.el: -------------------------------------------------------------------------------- 1 | (ert-deftest ed-mode-starts () 2 | (with-temp-buffer 3 | (ed) 4 | (should (equal major-mode 'ed-mode)))) 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ed for Emacs 2 | 3 | ed-mode lets you interact with Emacs buffers like you would do with 4 | the ed editor. 5 | 6 | ## Installation 7 | 8 | Make sure that `ed-mode.el` is in your `load-path`, then add 9 | `(require 'ed)` to your init file. 10 | 11 | ## Usage 12 | 13 | Use ed by opening a file like you’d normally do, and then do: 14 | M‑x ed RET 15 | -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- 1 | ed-mode is based on emacsed.el, for which the copyright notice is 2 | provided here: 3 | 4 | Copyright (C) 2005 Antti Nykänen 5 | 6 | Permission to use, copy, modify, and distribute this software for any 7 | purpose with or without fee is hereby granted, provided that the above 8 | copyright notice and this permission notice appear in all copies. 9 | 10 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 11 | WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 12 | WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 13 | AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 14 | DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 15 | PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 16 | TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 17 | PERFORMANCE OF THIS SOFTWARE. 18 | --------------------------------------------------------------------------------