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.

61 lines
1.4 KiB

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