summaryrefslogtreecommitdiff
path: root/gramscii.1
diff options
context:
space:
mode:
Diffstat (limited to 'gramscii.1')
-rw-r--r--gramscii.124
1 files changed, 22 insertions, 2 deletions
diff --git a/gramscii.1 b/gramscii.1
index 95b2719..aa88386 100644
--- a/gramscii.1
+++ b/gramscii.1
@@ -63,6 +63,26 @@ buffer contains the rectangle yanked/cut in
.B visual
mode.
.TP 5m
+.BI u
+Undo the last change. gramscii supports an undo history of indefinite
+length. The command
+.BI u
+gets the last change from the history, and moves the history pointer
+back by one change. See the related command
+.BI U
+below.
+.TP 5m
+.BI U
+Redo, i.e., cancel a previous
+.BI u
+command. gramscii supports an undo history of indefinite length. The
+command
+.BI U
+moves to the following change, if possible. For instance, the sequence
+.BI uuU
+will go back two changes, and then forward one, effectively resetting
+the state of the screen to what it was before the last change occurred.
+.TP 5m
.BI q
Quit gramscii, and prompt for a filename if the current screen contains
unsaved changes.
@@ -516,8 +536,8 @@ support scrolling and "virtual" screens of any (reasonable) size.
.PP
gramscii currently does
.B not
-provide an "undo" command. This requires a restructuring of buffer
-management, and will most probably be implemented in a future release.
+support "undo" commands for arrow, text, and erase mode. This will be
+added soon.
.SH AUTHORS
gramscii is written and maintained by Vincenzo "KatolaZ" Nicosia
<katolaz@freaknet.org>. You can use, copy, modify, and redistribute