diff options
author | 2002-06-27 21:39:56 +0000 | |
---|---|---|
committer | 2002-06-27 21:39:56 +0000 | |
commit | 659cce9c9d4995f45900a9d3c2941a7ae257b68f (patch) | |
tree | 4ac382f142204f355a874bfbaa769288c5e8b4c9 | |
parent | Document why it's static. (diff) | |
download | wireguard-openbsd-659cce9c9d4995f45900a9d3c2941a7ae257b68f.tar.xz wireguard-openbsd-659cce9c9d4995f45900a9d3c2941a7ae257b68f.zip |
bind C-x C-q to toggle-read-only, just like emacs.
ok deraadt@
-rw-r--r-- | usr.bin/mg/keymap.c | 6 |
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 */ }; |