summaryrefslogtreecommitdiffstats
path: root/docs/configuration
diff options
context:
space:
mode:
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/joshuto.toml.md2
-rw-r--r--docs/configuration/keymap.toml.md5
2 files changed, 7 insertions, 0 deletions
diff --git a/docs/configuration/joshuto.toml.md b/docs/configuration/joshuto.toml.md
index 685ddde..31ba9f5 100644
--- a/docs/configuration/joshuto.toml.md
+++ b/docs/configuration/joshuto.toml.md
@@ -99,6 +99,8 @@ reverse = false
string_case_sensitivity = "insensitive"
# For glob matching
glob_case_sensitivity = "sensitive"
+# For regex matching
+regex_case_sensitivity = "sensitive"
# For matching with fzf
fzf_case_sensitivity = "insensitive"
diff --git a/docs/configuration/keymap.toml.md b/docs/configuration/keymap.toml.md
index b926c1a..68a020b 100644
--- a/docs/configuration/keymap.toml.md
+++ b/docs/configuration/keymap.toml.md
@@ -319,6 +319,10 @@ function joshuto() {
- `:search_glob *.png`
+### `search_regex`: search the current directory via regex (exact match)
+
+- `:search_regex .+\.(jpg|png|gif)`
+
### `search_next`: go to next search result in the current directory
### `search_prev`: go to previous search result in the current directory
@@ -359,6 +363,7 @@ When disabling, the current “visual mode selection” is turned into normal se
- Options
- `--type=string`: change configurations of operations using substring matching
- `--type=glob`: change configurations of operations using glob matching
+ - `--type=regex`: change configurations of operations using regex
- `--type=fzf`: change configurations of operations using fzf
- when no option is added, type is set to `string` by default
- Value