Levi Olson 390c090207 | 6 years ago | |
---|---|---|
utils | 6 years ago | |
.gitignore | 6 years ago | |
LICENSE | 6 years ago | |
Makefile | 6 years ago | |
README.md | 6 years ago | |
main.go | 6 years ago |
LED is a lightweight editor written using Go.
This project is in VERY early stages and you could very likely destroy any file you open with it. SO USE WITH CAUTION!
git clone https://github.com/leothelocust/led.git
cd led/
make testfile
make build
./editor tmp.txt
Key Binding | Action |
---|---|
Main | |
C-x C-s |
Save |
C-x C-c |
Quit |
C-g |
Abort current key command |
Movement | |
C-p |UP ARROW |
Up |
C-n |DOWN ARROW |
Down |
C-f |RIGHT ARROW |
Right |
C-b |LEFT ARROW |
Left |
C-e |
End of line |
C-a |
Beginning of line |
M-b |
Move Back by Word |
M-f |
Move Forward by Word |
Other | |
C-u |
Prefix multiplier (similar to emacs) |
Destructive | |
Backspace |
... this is obvious |
C-k |
Kill from point forward |
Insert | |
[a-zA-Z0-9] |
Insert Character at point |
!@#$%^&*()-=;\'"/., |
Insert Special Character at point |
... to many to list
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.