Watch ~/.zed/bindings.json file for custom key bindings

Co-authored-by: Keith Simmons <keith@zed.dev>
This commit is contained in:
Max Brunsfeld 2022-04-11 16:50:44 -07:00
parent 92a5c30389
commit be11f63f1e
8 changed files with 110 additions and 60 deletions

View file

@ -1,4 +1,4 @@
pub mod keymap_file;
mod keymap_file;
use anyhow::Result;
use gpui::font_cache::{FamilyId, FontCache};
@ -15,6 +15,8 @@ use std::{collections::HashMap, sync::Arc};
use theme::{Theme, ThemeRegistry};
use util::ResultExt as _;
pub use keymap_file::KeyMapFile;
#[derive(Clone)]
pub struct Settings {
pub buffer_font_family: FamilyId,