Skip to content

Commit

Permalink
Use fuzzy search instead of regex search
Browse files Browse the repository at this point in the history
Ref: #496
  • Loading branch information
sayanarijit committed Oct 6, 2022
1 parent 93bd53b commit 57483be
Show file tree
Hide file tree
Showing 15 changed files with 671 additions and 402 deletions.
290 changes: 153 additions & 137 deletions Cargo.lock

Large diffs are not rendered by default.

21 changes: 11 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ path = './benches/criterion.rs'

[package]
name = 'xplr'
version = '0.19.3'
version = '0.19.4'
authors = ['Arijit Basu <hi@arijitbasu.in>']
edition = '2021'
description = 'A hackable, minimal, fast TUI file explorer'
Expand All @@ -22,19 +22,20 @@ categories = ['command-line-interface', 'command-line-utilities']
include = ['src/**/*', 'docs/en/src/**/*', 'LICENSE', 'README.md']

[dependencies]
libc = "0.2.132"
humansize = "1.1.1"
libc = "0.2.134"
humansize = "2.1.0"
natord = "1.0.9"
anyhow = "1.0.64"
anyhow = "1.0.65"

# Let's keep this locked. See https://docs.rs/serde_yaml/0.9.11/serde_yaml/
# Let's keep this locked to 0.8.26. See https://docs.rs/serde_yaml/0.9.11/serde_yaml/
serde_yaml = "0.8.26"

crossterm = "0.25.0"
dirs = "4.0.0"
ansi-to-tui = "1.0.1"
ansi-to-tui = "2.0.0"
regex = "1.6.0"
gethostname = "0.2.3"
fuzzy-matcher = "0.3.7"

[dependencies.lazy_static]
version = "1.4.0"
Expand All @@ -45,12 +46,12 @@ version = "2.0.4"
features = ["rev-mappings"]

[dependencies.tui]
version = "0.18.0"
version = "0.19.0"
default-features = false
features = ['crossterm', 'serde']

[dependencies.serde]
version = "1.0.144"
version = "1.0.145"
features = ['derive']

[dependencies.chrono]
Expand All @@ -66,11 +67,11 @@ version = "0.8.3"
features = ['luajit', 'vendored', 'serialize', 'send']

[dependencies.tui-input]
version = "0.5.1"
version = "0.6.0"
features = ['serde']

[dev-dependencies]
criterion = "0.3.6"
criterion = "0.4.0"
assert_cmd = "2.0.4"

[profile.release]
Expand Down
2 changes: 2 additions & 0 deletions docs/en/src/awesome-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ of the following plugins work for you, it's very easy to
- [**sayanarijit/dual-pane.xplr**][43] Implements support for dual-pane navigation into xplr.
- [**sayanarijit/map.xplr**][38] Visually inspect and interactively execute batch commands using xplr.
- [**sayanarijit/offline-docs.xplr**][51] Fetch the appropriate version of xplr docs and browse offline.
- [**sayanarijit/regex-search.xplr**][55] Bring back the regex based seach in xplr.
- [**sayanarijit/registers.xplr**][49] Use multiple registers to store the selected paths.
- [**sayanarijit/type-to-nav.xplr**][28] Inspired by [nnn's type-to-nav mode][29] for xplr,
with some tweaks.
Expand Down Expand Up @@ -109,3 +110,4 @@ of the following plugins work for you, it's very easy to
[52]: https://github.com/sayanarijit/wl-clipboard.xplr
[53]: https://github.com/Junker/nuke.xplr
[54]: https://github.com/sayanarijit/scp.xplr
[55]: https://github.com/sayanarijit/regex-search.xplr
Loading

0 comments on commit 57483be

Please sign in to comment.