diff options
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r-- | helix-term/src/commands.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 982ae013..4cded7ef 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -4790,7 +4790,7 @@ fn keep_or_remove_selections_impl(cx: &mut Context, remove: bool) { let reg = cx.register.unwrap_or('/'); let prompt = ui::regex_prompt( cx, - if !remove { "keep:" } else { "remove:" }.into(), + if remove { "remove:" } else { "keep:" }.into(), Some(reg), ui::completers::none, move |view, doc, regex, event| { |