aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/vis.c b/vis.c
index a700166..58cf0a3 100644
--- a/vis.c
+++ b/vis.c
@@ -309,6 +309,7 @@ static Movement moves[] = {
/* these can be passed as int argument to textobj(&(const Arg){ .i = TEXT_OBJ_* }) */
enum {
+ TEXT_OBJ_WORD,
TEXT_OBJ_LONGWORD,
TEXT_OBJ_LINE_UP,
TEXT_OBJ_LINE_DOWN,
@@ -331,7 +332,8 @@ enum {
};
static TextObject textobjs[] = {
- [TEXT_OBJ_LONGWORD] = { text_object_word },
+ [TEXT_OBJ_WORD] = { text_object_word },
+ [TEXT_OBJ_LONGWORD] = { text_object_longword },
[TEXT_OBJ_LINE_UP] = { text_object_line },
[TEXT_OBJ_LINE_DOWN] = { text_object_line },
[TEXT_OBJ_SENTENCE] = { text_object_sentence },