aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-02-15 16:05:18 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-02-15 18:21:51 +0100
commit44c8e46bc0a94c82dbbf2f13e2897c951f1e3b1a (patch)
treeed9bf0f74c218526cf37754fd98e84c2358d76c6 /config.def.h
parentc7ab22b9b1b191596e6a6fed3437717d47e1ce72 (diff)
downloadvis-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 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index f5957ac..b7a797e 100644
--- a/config.def.h
+++ b/config.def.h
@@ -123,6 +123,8 @@ static const KeyBinding bindings_textobjects[] = {
{ "ie", ACTION(TEXT_OBJECT_ENTIRE_INNER) },
{ "if", ACTION(TEXT_OBJECT_FUNCTION_INNER) },
{ "il", ACTION(TEXT_OBJECT_LINE_INNER) },
+ { "i<Tab>", ACTION(TEXT_OBJECT_INDENTATION) },
+ { "a<Tab>", ACTION(TEXT_OBJECT_INDENTATION) },
{ "gn", ACTION(TEXT_OBJECT_SEARCH_FORWARD) },
{ "gN", ACTION(TEXT_OBJECT_SEARCH_BACKWARD) },
{ 0 /* empty last element, array terminator */ },