From 44c8e46bc0a94c82dbbf2f13e2897c951f1e3b1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 15 Feb 2016 16:05:18 +0100 Subject: Add text object to cover lines with same indentation level By default it is mapped to i and a however there is currently no difference between the inner and regular version. --- vis-text-objects.c | 1 + 1 file changed, 1 insertion(+) (limited to 'vis-text-objects.c') diff --git a/vis-text-objects.c b/vis-text-objects.c index 93dc8d4..8ee2416 100644 --- a/vis-text-objects.c +++ b/vis-text-objects.c @@ -44,6 +44,7 @@ const TextObject vis_textobjects[] = { [VIS_TEXTOBJECT_INNER_FUNCTION] = { .txt = text_object_function_inner, }, [VIS_TEXTOBJECT_OUTER_LINE] = { .txt = text_object_line, }, [VIS_TEXTOBJECT_INNER_LINE] = { .txt = text_object_line_inner, }, + [VIS_TEXTOBJECT_INDENTATION] = { .txt = text_object_indentation, }, [VIS_TEXTOBJECT_SEARCH_FORWARD] = { .vis = search_forward, .type = SPLIT }, [VIS_TEXTOBJECT_SEARCH_BACKWARD] = { .vis = search_backward, .type = SPLIT }, }; -- cgit v1.2.3