From f1b0ecd6240e26f0e00cc39a92e11491a452be2d Mon Sep 17 00:00:00 2001 From: speedie Date: Mon, 3 Jul 2023 21:35:05 +0200 Subject: [PATCH] Change worddelimiters --- docs/spmenu.conf | 2 +- libs/options.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/spmenu.conf b/docs/spmenu.conf index 4285c09..9923307 100644 --- a/docs/spmenu.conf +++ b/docs/spmenu.conf @@ -173,7 +173,7 @@ spmenu = { fuzzy = 1; // Enable fuzzy finding (0/1) preselected = 0; // Preselect an item, 0 is the first item (number) mark = 1; // Allow marking/selecting multiple items (0/1) - delimiters = " "; // Word delimiter, used to delete words (text) + delimiters = " /?\"&[]"; // Word delimiter, used to delete words (text) listfile = "NULL"; // File to read entries from. If set to NULL standard input is read. This is read every time a key is pressed. (text) } ); diff --git a/libs/options.h b/libs/options.h index f29536f..fd4e087 100644 --- a/libs/options.h +++ b/libs/options.h @@ -261,4 +261,4 @@ static int requirematch = 0; /* Require input text to match an it static int incremental = 0; /* Print text every time a key is pressed (0/1) */ static int coloritems = 1; /* Color items (0/1) */ static int sgr = 1; /* Support SGR sequences (0/1) */ -static char *worddelimiters = " "; /* Word delimiters used for keybinds that change words, Space is default. */ +static char *worddelimiters = " /?\"&[]"; /* Word delimiters used for keybinds that change words, Space is default. */