aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-27 17:12:40 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-27 17:12:40 +0200
commitc034be42821637990ac1d4c0f0329be0e98f70b1 (patch)
tree7020cc40b6d03954b271c3deb129a4e60869c4ae /config.def.h
parentaa4823e78092ac3c18201089b4c2eedb9cd6bfe6 (diff)
downloadvis-c034be42821637990ac1d4c0f0329be0e98f70b1.tar.gz
vis-c034be42821637990ac1d4c0f0329be0e98f70b1.tar.xz
Add text objects for word (lowercase) variant
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index 655442d..87bff1f 100644
--- a/config.def.h
+++ b/config.def.h
@@ -155,7 +155,8 @@ static KeyBinding vis_movements[] = {
};
static KeyBinding vis_textobjs[] = {
- { { NONE('a'), NONE('w') }, textobj, { .i = TEXT_OBJ_LONGWORD } },
+ { { NONE('a'), NONE('w') }, textobj, { .i = TEXT_OBJ_WORD } },
+ { { NONE('a'), NONE('W') }, textobj, { .i = TEXT_OBJ_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 } },
@@ -175,7 +176,8 @@ static KeyBinding vis_textobjs[] = {
};
static KeyBinding vis_inner_textobjs[] = {
- { { NONE('i'), NONE('w') }, textobj, { .i = TEXT_OBJ_LONGWORD } },
+ { { NONE('i'), NONE('w') }, textobj, { .i = TEXT_OBJ_WORD } },
+ { { NONE('i'), NONE('W') }, textobj, { .i = TEXT_OBJ_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 } },