AEditor is written in 1523 lines of ruby code. It depends on ncursesw and ruby. When running it consumes about 4 mbytes. screenshot: http://aeditor.rubyforge.org/aeditor_shots/055.png download: http://rubyforge.org/frs/download.php/2851/aeditor-2.3.tar.gz It supports the following keybindings: ctrl x ......... quit ctrl o ......... save buffer arrow keys ..... move cursor letters ........ insert text backspace ...... erase char left of cursor (or selection) delete ......... erase char right of cursor (or selection) home ........... move cursor either to linebegin or textbegin end ............ move cursor to lineend ctrl left ...... move word left ctrl right ..... move word right pageup ......... move a page up pagedown ....... move a page down ctrl pageup .... move to top ctrl pagedown .. move to bottom F1 ............. insert a fullwidth glyph (กม) F2 ............. dump statistics to log F3 ............. search down shift F3 ....... search up ctrl u ......... use clipboard data as search pattern ctrl k k ....... toggle bookmark ctrl k p ....... goto prev bookmark ctrl k n ....... goto next bookmark ctrl f f ....... expand fold ctrl f 5 ....... collapse 5 lines ctrl f v ....... convert selection into fold ctrl v ......... toggle selection mode ctrl p ......... paste from clipboard -- Simon Strandgaard