diff options
Diffstat (limited to 'src/cmd/acme')
-rw-r--r-- | src/cmd/acme/text.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cmd/acme/text.c b/src/cmd/acme/text.c index e1b52859..e82a3a30 100644 --- a/src/cmd/acme/text.c +++ b/src/cmd/acme/text.c @@ -802,13 +802,15 @@ texttype(Text *t, Rune r) typecommit(t); undo(t, nil, nil, TRUE, 0, nil, 0); return; + case Kcmd+'Z': /* %-shift-Z: redo */ + typecommit(t); + undo(t, nil, nil, FALSE, 0, nil, 0); + return; case Kcmd+'s': /* %S: save/put file */ typecommit(t); put(&t->w->body, nil, nil, XXX, XXX, nil, 0); return; - - Tagdown: /* expand tag to show all text */ if(!t->w->tagexpand){ |