diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-24 20:19:30 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-24 20:19:30 +0200 |
| commit | a45f2fee080ab02d968c4e7c844a212e09180147 (patch) | |
| tree | 748e869fcc62725d8d5205b88a0d6542ea4e5910 | |
| parent | 34e9b2ebcc73160d6d176cf166ecd6345a70433d (diff) | |
| download | vis-a45f2fee080ab02d968c4e7c844a212e09180147.tar.gz vis-a45f2fee080ab02d968c4e7c844a212e09180147.tar.xz | |
Implement 'ZZ' and 'ZQ'
| -rw-r--r-- | config.def.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ }, }; |
