summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2021-05-11 13:19:03 +0200
committerCanop <cano.petrole@gmail.com>2021-05-11 13:19:03 +0200
commite5aa1eb607470d7f3fffdbe0ba4c27ba9555700f (patch)
tree7b24c21d188f04f00607cdf20142327fd6cf7d25
parent341d956d9ffda33bb4f088bde14dd379db749159 (diff)
version 1.4.0v1.4.0
-rw-r--r--CHANGELOG.md3
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml2
-rw-r--r--resources/default-conf.hjson18
4 files changed, 13 insertions, 12 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e0aa7ae..7478be7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,5 @@
-### next
+<a name="v1.4.0"></a>
+### v1.4.0 - 2021-05-11
- the default (non prefixed) search is now "path fuzzy" instead of "name fuzzy". You can still change the default mode and mode bindings in the config. This was done after a survey in chat.
- new "unordered tokens" search type: `t/ab,cd` searches for tokens "ab" and "cd" in any order and case insensitive in the subpath, matches for example `src/dcd/Bab.rs` - Fix #378
- fix search modes configuration removing all default mappings - Fix #383
diff --git a/Cargo.lock b/Cargo.lock
index 7d46251..0b19e33 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -138,7 +138,7 @@ checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
[[package]]
name = "broot"
-version = "1.3.2-dev"
+version = "1.4.0"
dependencies = [
"ahash 0.7.2",
"ansi_colours",
diff --git a/Cargo.toml b/Cargo.toml
index 13789d3..09ecbb8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "broot"
-version = "1.3.2-dev"
+version = "1.4.0"
authors = ["dystroy <denys.seguret@gmail.com>"]
repository = "https://github.com/Canop/broot"
documentation = "https://dystroy.org/broot"
diff --git a/resources/default-conf.hjson b/resources/default-conf.hjson
index 4ac3bb1..47202eb 100644
--- a/resources/default-conf.hjson
+++ b/resources/default-conf.hjson
@@ -107,27 +107,27 @@
#
# broot allows many search modes.
# A search mode is defined by
- # - the way to search: fuzzy, exact, or a regular expression.
- # - where to search: name, sub-path, or file content
- # A search pattern may for example be "fuzzy name" (default),
+ # - the way to search: 'fuzzy', 'exact', 'regex', or 'tokens'.
+ # - where to search: file 'name', 'path', or file 'content'
+ # A search pattern may for example be "fuzzy path" (default),
# "regex content" or "exact path".
#
# The search mode is selected from its prefix. For example, if
- # you type "abc", the default mode is "fuzzy name". If you type
- # "/abc", the mode is "regex name". If you type "rp/abc", the mode
- # is "regex path".
+ # you type "abc", the default mode is "fuzzy path". If you type
+ # "/abc", the mode is "regex path". If you type "rn/abc", the mode
+ # is "regex name".
#
# This mapping may be modified. You may want to dedicate the
# empty prefix (the one which doesn't need a '/') to the
# search mode you use most often. The example below makes it
- # easy to search on subpath rather than on the name.
+ # easy to search on name rather than on the subpath.
#
# More information on
# https://dystroy.org/broot/input/#the-filtering-pattern
#
# search_modes: {
- # <empty>: fuzzy path
- # /: regex path
+ # <empty>: fuzzy name
+ # /: regex name
# }
###############################################################