LED is a lightweight text editor written using Go.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.3 KiB

5 years ago
5 years ago
5 years ago
  1. # LED
  2. LED is a lightweight text editor written using Go.
  3. ## Disclaimer
  4. This project is in VERY early stages and you could very likely destroy any file you open with it. _SO USE WITH CAUTION!_
  5. ## Installation
  6. git clone https://github.com/leothelocust/led.git
  7. cd led/
  8. make testfile
  9. make build
  10. ./led tmp.txt
  11. ## Supported Key Bindings
  12. |Key Binding|Action|
  13. |---|---|
  14. | **Main** | |
  15. |`C-x C-s` | Save |
  16. |`C-x C-c` | Quit |
  17. |`C-g` | Abort current key command |
  18. | **Movement** | |
  19. |`C-p`\|`UP ARROW` | Up |
  20. |`C-n`\|`DOWN ARROW` | Down |
  21. |`C-f`\|`RIGHT ARROW` | Right |
  22. |`C-b`\|`LEFT ARROW` | Left |
  23. |`C-e` | End of line |
  24. |`C-a` | Beginning of line |
  25. |`M-b` | Move Back by Word |
  26. |`M-f` | Move Forward by Word |
  27. | **Other** | |
  28. |`C-u` | Prefix multiplier (similar to emacs) |
  29. | **Destructive** | |
  30. |`Backspace`| ... this is obvious |
  31. |`C-k`| Kill from point forward |
  32. | **Insert** | |
  33. |`[a-zA-Z0-9]`| Insert Character at point |
  34. |`!@#$%^&*()-=;\'"/.,`| Insert Special Character at point |
  35. ## TODO
  36. * support more actions
  37. * like delete (not just backspace)
  38. * undo
  39. * redo
  40. ## Known Issues
  41. _... to many to list_
  42. ## Contribute
  43. Not actively looking for help at this point, as this project is _very_ early in development. That being said, if you see something that is fundamentally wrong, please don't just sit there, let me know.