Commit Diff


commit - bae34df843174dd2dfcbb3e584ea8f963f0c1d32
commit + 113ea95f7b3b8f2af5e57214fe752c187d35aa19
blob - 7ea6de93dd1753a5abb892c74a9389a8bf883857
blob + 463db9ff623b8fc8c10f7b10e341e8aa3bb8acca
--- src/cmd/acme/text.c
+++ src/cmd/acme/text.c
@@ -745,12 +745,10 @@ texttype(Text *t, Rune r)
 			q0++;
 		textshow(t, q0, q0, TRUE);
 		return;
-	case 3:		/* ^C: copy */
 	case Kcmd+'c':	/* %C: copy */
 		typecommit(t);
 		cut(t, t, nil, TRUE, FALSE, nil, 0);
 		return;
-	case 0x1a:	/* ^Z: undo */
 	case Kcmd+'z':	/* %Z: undo */
 	 	typecommit(t);
 		undo(t, nil, nil, TRUE, 0, nil, 0);
@@ -779,7 +777,6 @@ texttype(Text *t, Rune r)
 	}
 	/* cut/paste must be done after the seq++/filemark */
 	switch(r){
-	case 0x18:	/* ^X: cut */
 	case Kcmd+'x':	/* %X: cut */
 		typecommit(t);
 		if(t->what == Body){
@@ -790,7 +787,6 @@ texttype(Text *t, Rune r)
 		textshow(t, t->q0, t->q0, 1);
 		t->iq1 = t->q0;
 		return;
-	case 0x16:	/* ^V: paste */
 	case Kcmd+'v':	/* %V: paste */
 		typecommit(t);
 		if(t->what == Body){