Watch ~/.zed/bindings.json file for custom key bindings
Co-authored-by: Keith Simmons <keith@zed.dev>
This commit is contained in:
parent
92a5c30389
commit
be11f63f1e
8 changed files with 110 additions and 60 deletions
|
@ -45,6 +45,7 @@ lazy_static! {
|
|||
.expect("failed to determine home directory")
|
||||
.join(".zed");
|
||||
pub static ref SETTINGS_PATH: PathBuf = ROOT_PATH.join("settings.json");
|
||||
pub static ref BINDINGS_PATH: PathBuf = ROOT_PATH.join("bindings.json");
|
||||
}
|
||||
|
||||
pub fn init(app_state: &Arc<AppState>, cx: &mut gpui::MutableAppContext) {
|
||||
|
@ -102,7 +103,7 @@ pub fn init(app_state: &Arc<AppState>, cx: &mut gpui::MutableAppContext) {
|
|||
|
||||
workspace::lsp_status::init(cx);
|
||||
|
||||
settings::keymap_file::load_built_in_keymaps(cx);
|
||||
settings::KeyMapFile::load_defaults(cx);
|
||||
}
|
||||
|
||||
pub fn build_workspace(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue