lpe - Lightweight programmer's editor


lpe [ --help | --version ]
lpe [ -- ] file


This page needs to be translated into Bulgarian!!!
Lpe is a minimalist, visual, real-time text editor designed to make editing code easier without alienating its user from the shell. It includes abilities to search files for plain text and block cut and paste, along with standard editing capabilities. It takes some inspiration from emacs(1) and pico(1).


Prints a brief description of program usage and terminates. This must be the first option to lpe, and all other options are ignored.
Prints a message indication the program version and terminates. This must be the first option to lpe, and all other options are ignored.
Treat future arguments as file names, not options. This allows lpe to be used to edit files starting with the - character.


As mentioned above, lpe is designed as a minimalist editor, meant to be small and robust and efficient, but not to provide too many superfluous features. For this reason, it should not be difficult to learn to use lpe, provided that one is willing to invest effort to learn a few basic keys.

Command Keys

Up or Alt-K
Go to previous line of text
Down or Alt-J
Go to next line of text
Left or Alt-H
Move cursor left one column
Right or Alt-L
Move cursor right one column
Home or Alt-0
Move cursor to beginning of line
End or Alt-$
Move cursor to end of line
PageUp or Alt-B
Scroll one screen up
PageDn or Alt-F
Scroll one screen down
Move cursor to beginning of buffer
Move cursor to end of buffer
Search for a specified string in the file
Kill the current line
Ctrl-Y or Ctrl-U
Insert the most recent block of killed lines
Toggle between hard and soft tab characters
Open a new file within the editor
Write the buffer to disk
Save to an alternate file
Forget modifications to the buffer
Write the buffer to disk and exit
Perform an internal debug command
Exit without writing to disk
Suspend the editor and escape to a prompt <interrupt> refers to your terminal's interrupt key. This is often Ctrl-C, but can vary between terminals. Ctrl-Z, on the other hand, is fixed, regardless of the normal stop key for your terminal.


emacs(1), pico(1)


Chris Smith, [email protected]


Lots of 'em -- see the BUGS file in the distribution for a partial list. I am not planning on updating this man page often enough to keep up with the bug list, so I won't even try to list bugs here.

Recommended readings

Pages related to lpe you should read also:

Share it now!