summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorVincent Labrecque <vincent@cvs.openbsd.org>2002-06-27 21:39:57 +0000
committerVincent Labrecque <vincent@cvs.openbsd.org>2002-06-27 21:39:57 +0000
commita43f542f1fad03acfad4b621399c3bbea9ebcbdf (patch)
tree54eefe9ae7ef4b5d3460864aca0f1d5ec7af397c /usr.bin
parent8f9873b04a16906f6f334984615064ae43043165 (diff)
bind C-x C-q to toggle-read-only, just like emacs.
ok deraadt@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mg/keymap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mg/keymap.c b/usr.bin/mg/keymap.c
index 356e6c9394e..bd0980531d7 100644
--- a/usr.bin/mg/keymap.c
+++ b/usr.bin/mg/keymap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: keymap.c,v 1.21 2002/05/29 20:25:00 vincent Exp $ */
+/* $OpenBSD: keymap.c,v 1.22 2002/06/27 21:39:56 vincent Exp $ */
/*
* Keyboard maps. This is character set dependent. The terminal specific
@@ -79,12 +79,12 @@ static PF cXcL[] = {
rescan, /* ^N */
deblank, /* ^O */
rescan, /* ^P */
- rescan, /* ^Q */
+ togglereadonly, /* ^Q */
rescan, /* ^R */
filesave, /* ^S */
rescan, /* ^T */
upperregion, /* ^U */
- rescan, /* ^V */
+ rescan, /* ^V */
filewrite, /* ^W */
swapmark, /* ^X */
};