From 521263a2c67d2b5df507858dcd240a9e42790780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 27 Sep 2014 19:51:29 +0200 Subject: Implement 'zt', 'zz', 'zb' In particular 'zb' might not work if there are wrapped lines involved. --- config.def.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index ebc9057..484b152 100644 --- a/config.def.h +++ b/config.def.h @@ -402,6 +402,9 @@ static KeyBinding vis_mode_normal[] = { { { NONE(':') }, prompt, { .s = ":" } }, { { NONE('Z'), NONE('Z') }, cmd, { .s = "wq" } }, { { NONE('Z'), NONE('Q') }, cmd, { .s = "q!" } }, + { { NONE('z'), NONE('t') }, window, { .w = window_redraw_top } }, + { { NONE('z'), NONE('z') }, window, { .w = window_redraw_center } }, + { { NONE('z'), NONE('b') }, window, { .w = window_redraw_bottom } }, { /* empty last element, array terminator */ }, }; -- cgit v1.2.3