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.

53 lines
1.3 KiB

5 years ago
5 years ago
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. cd ~/go/src
  7. git clone https://github.com/leothelocust/led.git
  8. cd led/
  9. make testfile
  10. make build
  11. ./led tmp.txt
  12. ## Supported Key Bindings
  13. |Key Binding|Action|
  14. |---|---|
  15. | **Main** | |
  16. |`C-x C-s` | Save |
  17. |`C-x C-c` | Quit |
  18. |`C-g` | Abort current key command |
  19. | **Movement** | |
  20. |`C-p`\|`UP ARROW` | Up |
  21. |`C-n`\|`DOWN ARROW` | Down |
  22. |`C-f`\|`RIGHT ARROW` | Right |
  23. |`C-b`\|`LEFT ARROW` | Left |
  24. |`C-e` | End of line |
  25. |`C-a` | Beginning of line |
  26. |`M-b` | Move Back by Word |
  27. |`M-f` | Move Forward by Word |
  28. | **Other** | |
  29. |`C-u` | Prefix multiplier (similar to emacs) |
  30. | **Destructive** | |
  31. |`Backspace`| ... this is obvious |
  32. |`C-k`| Kill from point forward |
  33. | **Insert** | |
  34. |`[a-zA-Z0-9]`| Insert Character at point |
  35. |`!@#$%^&*()-=;\'"/.,`| Insert Special Character at point |
  36. ## TODO
  37. * support more actions
  38. * like delete (not just backspace)
  39. * undo
  40. * redo
  41. ## Known Issues
  42. _... to many to list_
  43. ## Contribute
  44. 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.