From a45f2fee080ab02d968c4e7c844a212e09180147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 24 Sep 2014 20:19:30 +0200 Subject: Implement 'ZZ' and 'ZQ' --- config.def.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.def.h b/config.def.h index f07369f..a9c3456 100644 --- a/config.def.h +++ b/config.def.h @@ -394,6 +394,8 @@ static KeyBinding vis_mode_normal[] = { { { CONTROL('R') }, redo, { NULL } }, { { CONTROL('L') }, call, { .f = editor_draw } }, { { NONE(':') }, prompt, { .s = ":" } }, + { { NONE('Z'), NONE('Z') }, cmd, { .s = "wq" } }, + { { NONE('Z'), NONE('Q') }, cmd, { .s = "q!" } }, { /* empty last element, array terminator */ }, }; -- cgit v1.2.3