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.
 
 
Levi Olson 4e08eefcd1
Update README.md
5 years ago
utils Initial commit 5 years ago
.gitignore Makefile install 5 years ago
LICENSE Create LICENSE 5 years ago
Makefile Makefile install 5 years ago
README.md Update README.md 5 years ago
main.go Fixing naming issues 5 years ago

README.md

LED

LED is a lightweight text editor written using Go.

Disclaimer

This project is in VERY early stages and you could very likely destroy any file you open with it. SO USE WITH CAUTION!

Installation

cd ~/go/src
git clone https://github.com/leothelocust/led.git
cd led/
make testfile
make build
./led tmp.txt

Don't do this

ln -sF $(pwd)/led /usr/local/bin/led

or

make install

Supported Key Bindings

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

TODO

  • support more actions
    • like delete (not just backspace)
  • undo
  • redo

Known Issues

... to many to list

Contribute

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.