From 5336f005ce76b58199cbf84f5c74dec98b5b8784 Mon Sep 17 00:00:00 2001 From: sxyazi Date: Mon, 13 Nov 2023 02:14:11 +0800 Subject: [PATCH] fix: `find_do` command missing --- yazi-core/src/manager/commands/rename.rs | 2 +- yazi-fm/src/executor.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/yazi-core/src/manager/commands/rename.rs b/yazi-core/src/manager/commands/rename.rs index 8c31da33..23dcc608 100644 --- a/yazi-core/src/manager/commands/rename.rs +++ b/yazi-core/src/manager/commands/rename.rs @@ -66,7 +66,7 @@ impl Manager { false } - pub fn bulk_rename(&self) -> bool { + fn bulk_rename(&self) -> bool { let old: Vec<_> = self.selected().into_iter().map(|f| &f.url).collect(); let root = max_common_root(&old); diff --git a/yazi-fm/src/executor.rs b/yazi-fm/src/executor.rs index 0277d193..11b36e74 100644 --- a/yazi-fm/src/executor.rs +++ b/yazi-fm/src/executor.rs @@ -124,6 +124,7 @@ impl<'a> Executor<'a> { // Find on!(ACTIVE, find); + on!(ACTIVE, find_do); on!(ACTIVE, find_arrow); // Sorting