diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-02-15 16:05:18 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-02-15 18:21:51 +0100 |
| commit | 44c8e46bc0a94c82dbbf2f13e2897c951f1e3b1a (patch) | |
| tree | ed9bf0f74c218526cf37754fd98e84c2358d76c6 /vis-text-objects.c | |
| parent | c7ab22b9b1b191596e6a6fed3437717d47e1ce72 (diff) | |
| download | vis-44c8e46bc0a94c82dbbf2f13e2897c951f1e3b1a.tar.gz vis-44c8e46bc0a94c82dbbf2f13e2897c951f1e3b1a.tar.xz | |
Add text object to cover lines with same indentation level
By default it is mapped to i<Tab> and a<Tab> however there
is currently no difference between the inner and regular
version.
Diffstat (limited to 'vis-text-objects.c')
| -rw-r--r-- | vis-text-objects.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 }, }; |
