-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathled.1
More file actions
94 lines (94 loc) · 2.26 KB
/
led.1
File metadata and controls
94 lines (94 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
.TH LED 1 "2026-03-20" "1.0.0" "User Commands"
.SH NAME
led \- Larry's Editor, a terminal-based text editor
.SH SYNOPSIS
.B led
[\fIoptions\fR] [\fIfile\fR]
.SH DESCRIPTION
.B led
is a powerful and reliable terminal-based text editor for Linux/Unix systems. It features unlimited undo/redo, syntax highlighting for C/C++ code, search and replace with regex support, selection and clipboard operations, and a configurable user interface. Designed with data safety in mind, it includes crash recovery, auto-save with versioned backups, and comprehensive error handling.
.SH OPTIONS
.TP
.B \-t
Test mode: Loads the file, runs automated tests on the model/view/controller components, outputs results to stderr, and exits.
.SH KEYBINDINGS
.SS Navigation
.TP
.B Arrow Keys
Move cursor up, down, left, right
.TP
.B Home
Move to start of line (press twice for top of file)
.TP
.B End
Move to end of line (press twice for bottom of file)
.TP
.B Page Up
Scroll up one page
.TP
.B Page Down
Scroll down one page
.SS Editing
.TP
.B Printable Characters
Insert text
.TP
.B Enter
Insert new line
.TP
.B Backspace/Delete
Delete character (backward/forward)
.TP
.B Ctrl+Z
Undo last operation
.TP
.B Ctrl+Y
Redo last undone operation
.SS File Operations
.TP
.B Ctrl+S
Save file
.TP
.B Ctrl+Q
Quit editor
.SS Selection and Clipboard
.TP
.B Ctrl+A
Select all text
.TP
.B Ctrl+C
Copy selected text (or current line if no selection)
.TP
.B Ctrl+X
Cut selected text (or current line if no selection)
.TP
.B Ctrl+V
Paste clipboard content
.SS Search and Replace
.TP
.B Ctrl+/
Enter search mode (type regex pattern, Enter to search, Esc to cancel)
.TP
.B Ctrl+R
Enter replace mode (type search regex, Enter, type replace string, Enter to replace all matches, Esc to cancel)
.SS Display
.TP
.B F2
Toggle line number display
.TP
.B F3
Toggle word wrap (visual soft wrap of long lines)
.SH CONFIGURATION
led supports customizable colors and syntax highlighting via ~/.config/led/colorization.conf. See the README.md file for details on configuration options.
.SH FILES
.TP
.I ~/.config/led/colorization.conf
Configuration file for colors and syntax highlighting.
.SH SEE ALSO
.BR vim (1),
.BR emacs (1),
.BR nano (1)
.SH AUTHOR
Developed with assistance from grok-code-fast-1.
.SH BUGS
Report bugs at https://github.com/refgift/led/issues