An implementation of the ed(1) text editor in Fennel
Phil Hagelberg b57cfc5bc6 Add h and H. 6 months ago
.luacheckrc Add luacheck. 6 months ago
fennel.lua initial commit. 6 months ago
fennelview.fnl initial commit. 6 months ago
license.txt Add license file. 6 months ago
lume.lua initial commit. 6 months ago
makefile Add h and H. 6 months ago
readme.md Add h and H. 6 months ago
test.fnl More line addressing features and tests. 6 months ago
trurl Move launcher to Lua so you don't need to have fennel installed. 6 months ago
trurl.fnl Add h and H. 6 months ago

readme.md

trurl

A text editor written in Fennel.

No, not that kind of text editor.

This kind of text editor!

Usage

$ ./trurl

To embed it in your own programs you just need trurl.fnl and fennel.lua. The fennelview.fnl and lume.lua files are used for development but not needed at runtime.

Gotchas

Non-standard additions include enabling the prompt by default and printing error messages by default.

Regular expressions use Lua patterns.

Also it's not, like... finished.

Todo

  • s
  • t
  • j
  • m
  • k
  • z
  • x
  • y
  • support print suffixes where relevant
  • populating cut buffer in relevant commands
  • IO commands
    • e
    • E
    • f
    • r
    • w
    • W
    • !
  • q is currently Q
  • g
  • G
  • v
  • V

License

Copyright © 2018 Phil Hagelberg and contributors

Distributed under the GNU General Public License version 3 or later; see file license.txt.