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. --- text-objects.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'text-objects.h') diff --git a/text-objects.h b/text-objects.h index 72e9a8c..5656a8a 100644 --- a/text-objects.h +++ b/text-objects.h @@ -51,6 +51,8 @@ Filerange text_object_filename(Text*, size_t pos); /* match a search term in either forward or backward direction */ Filerange text_object_search_forward(Text*, size_t pos, Regex*); Filerange text_object_search_backward(Text*, size_t pos, Regex*); +/* match all lines with same indendation level than the current one */ +Filerange text_object_indentation(Text*, size_t pos); /* extend a range to cover whole lines */ Filerange text_range_linewise(Text*, Filerange*); -- cgit v1.2.3