diff --git a/vimode/src/cmds/special.c b/vimode/src/cmds/special.c index 7f15aba5f..34b17dccb 100644 --- a/vimode/src/cmds/special.c +++ b/vimode/src/cmds/special.c @@ -94,7 +94,7 @@ static void search_current(CmdContext *c, CmdParams *p, gboolean next) else { const gchar *prefix = next ? "/" : "?"; - c->search_text = g_strconcat(prefix, word, NULL); + c->search_text = g_strconcat(prefix, "\\<", word, "\\>", NULL); } g_free(word);