keymap_editor: Move OpenKeymapEditor action into zed_actions (#37928)

This lets us remove title_bar's dependency on keymap_editor, which in
turns improves dev build times by ~0.5s for me

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz
2025-09-10 16:57:05 +00:00
committed by GitHub
parent 6441099a67
commit c0b583c9ef
6 changed files with 6 additions and 14 deletions
+1 -8
View File
@@ -37,6 +37,7 @@ use workspace::{
};
pub use ui_components::*;
use zed_actions::OpenKeymapEditor;
use crate::{
persistence::KEYBINDING_EDITORS,
@@ -48,14 +49,6 @@ use crate::{
const NO_ACTION_ARGUMENTS_TEXT: SharedString = SharedString::new_static("<no arguments>");
actions!(
zed,
[
/// Opens the keymap editor.
OpenKeymapEditor
]
);
actions!(
keymap_editor,
[