aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-12-23 17:21:00 +0100
committerMarc André Tanner <mat@brain-dump.org>2014-12-23 17:21:00 +0100
commit985a828346a5d3185f6ee1e00d2ab4154024a9c8 (patch)
tree255db2a1dae37efaebc4f039efa60e7784deee05 /config.def.h
parent3314a2843f3c940e6fb96d8612f23172832f3804 (diff)
downloadvis-985a828346a5d3185f6ee1e00d2ab4154024a9c8.tar.gz
vis-985a828346a5d3185f6ee1e00d2ab4154024a9c8.tar.xz
Distinct between inner and outer word text objects
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h
index 16fd674..2954ea9 100644
--- a/config.def.h
+++ b/config.def.h
@@ -160,8 +160,8 @@ static KeyBinding vis_movements[] = {
};
static KeyBinding vis_textobjs[] = {
- { { NONE('a'), NONE('w') }, textobj, { .i = TEXT_OBJ_WORD } },
- { { NONE('a'), NONE('W') }, textobj, { .i = TEXT_OBJ_LONGWORD } },
+ { { NONE('a'), NONE('w') }, textobj, { .i = TEXT_OBJ_OUTER_WORD } },
+ { { NONE('a'), NONE('W') }, textobj, { .i = TEXT_OBJ_OUTER_LONGWORD } },
{ { NONE('a'), NONE('s') }, textobj, { .i = TEXT_OBJ_SENTENCE } },
{ { NONE('a'), NONE('p') }, textobj, { .i = TEXT_OBJ_PARAGRAPH } },
{ { NONE('a'), NONE('[') }, textobj, { .i = TEXT_OBJ_OUTER_SQUARE_BRACKET } },
@@ -181,8 +181,8 @@ static KeyBinding vis_textobjs[] = {
};
static KeyBinding vis_inner_textobjs[] = {
- { { NONE('i'), NONE('w') }, textobj, { .i = TEXT_OBJ_WORD } },
- { { NONE('i'), NONE('W') }, textobj, { .i = TEXT_OBJ_LONGWORD } },
+ { { NONE('i'), NONE('w') }, textobj, { .i = TEXT_OBJ_INNER_WORD } },
+ { { NONE('i'), NONE('W') }, textobj, { .i = TEXT_OBJ_INNER_LONGWORD } },
{ { NONE('i'), NONE('s') }, textobj, { .i = TEXT_OBJ_SENTENCE } },
{ { NONE('i'), NONE('p') }, textobj, { .i = TEXT_OBJ_PARAGRAPH } },
{ { NONE('i'), NONE('[') }, textobj, { .i = TEXT_OBJ_INNER_SQUARE_BRACKET } },