Simple visual text editor written in pure C.
There's nothing here, just a playground. It's not usefull because of:
- Inserting/reading unicode causes segfault;
- Writing/reading a line bigger than the window width also causes segfault;
- Tab character is literally unsupported;
- The file name should not be bigger than 128 bytes.
$ make
$ ./ved akatsuki.txt
- Move left:
Ctrl + B
orLeft
. - Move right:
Ctrl + F
orRight
. - Move up:
Ctrl + P
orUp
. - Move down:
Ctrl + N
orDown
. - Move to end of line:
Ctrl + E
orEnd
. - Move to beggining of line:
Ctrl + A
orHome
. - Delete character under cursor:
Ctrl + D
orDel
. - Exit:
Ctrl + x
.