pub struct Config {Show 19 fields
pub theme: String,
pub tab_width: usize,
pub clipboard_sync: bool,
pub relative_number: bool,
pub wrap_lines: bool,
pub update_check: bool,
pub undo_caching: bool,
pub gpu_graphics: bool,
pub gpu_hyperlinks: bool,
pub gpu_acc: bool,
pub key_hints: bool,
pub lsp_enabled: bool,
pub lsp_servers: HashMap<String, String>,
pub pet_enabled: bool,
pub pet_path: String,
pub pet_x: u16,
pub pet_y: u16,
pub pet_width_cells: u16,
pub pet_speed: u16,
}Fields§
§theme: String§tab_width: usizeSpaces per tab / indent
clipboard_sync: boolMirror yanks to system clipboard (unnamedplus-style)
relative_number: boolShow relative line numbers in gutter
wrap_lines: boolSoft-wrap long lines (false = horizontal scroll).
update_check: boolStartup check for a newer release (welcome-screen notice).
undo_caching: boolKeep undo history on disk when a file closes (resume on reopen).
gpu_graphics: boolKitty-graphics layer (inline preview images, pet, media previews).
gpu_hyperlinks: boolOSC 8 hyperlinks.
gpu_acc: boolGPU-terminal progressive enhancements (Ghostty/Kitty).
key_hints: boolShow which-key style chord hints after prefix keys.
lsp_enabled: boolMaster switch for automatic LSP start.
lsp_servers: HashMap<String, String>Per-language LSP command overrides.
Key = language id (rust, python, …).
Value = command line; empty string = disabled for that language.
Missing key = use built-in default.
pet_enabled: boolDesktop pet GIF overlay (requires gpu_acc + Kitty graphics).
pet_path: String§pet_x: u16§pet_y: u16§pet_width_cells: u16§pet_speed: u16Playback speed percent (25..=400). 100 = native GIF timing.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more