From f38cdb2d38357f8f01a766ea21cb30661a0d99e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 31 Jul 2015 13:34:27 +0200 Subject: vis: cleanup handling of charwise/linewise motions Also text objects in visual mode should now work better. --- config.def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 859b3db..181dc7c 100644 --- a/config.def.h +++ b/config.def.h @@ -229,8 +229,8 @@ static void vis_mode_operator_input(const char *str, size_t len) { } static KeyBinding vis_operator_options[] = { - { { NONE('v') }, linewise, { .b = false } }, - { { NONE('V') }, linewise, { .b = true } }, + { { NONE('v') }, motiontype, { .i = CHARWISE } }, + { { NONE('V') }, motiontype, { .i = LINEWISE } }, { /* empty last element, array terminator */ }, }; -- cgit v1.2.3