From 1c85995ed78d8b870eeb26128fcac5d37f3a817e Mon Sep 17 00:00:00 2001 From: Alvaro Parker <64918109+AlvaroParker@users.noreply.github.com> Date: Wed, 1 Oct 2025 07:45:38 -0300 Subject: [PATCH] Enable vim mode within the rules editor (#39244) Release Notes: - Enable vim mode on rule editor --- crates/rules_library/src/rules_library.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rules_library/src/rules_library.rs b/crates/rules_library/src/rules_library.rs index 34dc0eaa2c..b346e97957 100644 --- a/crates/rules_library/src/rules_library.rs +++ b/crates/rules_library/src/rules_library.rs @@ -726,7 +726,7 @@ impl RulesLibrary { editor.set_show_gutter(false, cx); editor.set_show_wrap_guides(false, cx); editor.set_show_indent_guides(false, cx); - editor.set_use_modal_editing(false); + editor.set_use_modal_editing(true); editor.set_current_line_highlight(Some(CurrentLineHighlight::None)); editor.set_completion_provider(Some(make_completion_provider())); if focus {