From 4e75766e915d78cb47008aae805807a2ad038935 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Sat, 3 Jan 2015 16:38:17 -0800 Subject: define underscores to be part of a word --- text-motions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text-motions.c b/text-motions.c index 8462fff..3a970e8 100644 --- a/text-motions.c +++ b/text-motions.c @@ -22,7 +22,7 @@ int is_word_boundry(int c) { return ISASCII(c) && !(('0' <= c && c <= '9') || ('a' <= c && c <= 'z') || - ('A' <= c && c <= 'Z')); + ('A' <= c && c <= 'Z') || c == '_'); } size_t text_begin(Text *txt, size_t pos) { -- cgit v1.2.3