pub struct KeybindingsConfig {
pub quit: String,
pub search: String,
pub dashboard: String,
pub file_manager: String,
pub snippets: String,
pub next_screen: String,
pub next_tab: String,
}Expand description
Keyboard shortcut overrides (all values are key name strings).
Supports plain key names ("Tab", "q", "F1") and "Ctrl+<char>" format
(e.g. "Ctrl+T", "Ctrl+W") for modifiers.
Fields§
§quit: String§search: String§dashboard: String§file_manager: String§snippets: String§next_screen: StringKey to cycle to the next app screen (dashboard → files → snippets →
terminal). Also used to switch panels in File Manager.
Default: "Tab".
next_tab: StringKey to cycle terminal tabs / split panes.
Default: "Ctrl+N".
Trait Implementations§
Source§impl Clone for KeybindingsConfig
impl Clone for KeybindingsConfig
Source§fn clone(&self) -> KeybindingsConfig
fn clone(&self) -> KeybindingsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeybindingsConfig
impl Debug for KeybindingsConfig
Source§impl Default for KeybindingsConfig
impl Default for KeybindingsConfig
Source§impl<'de> Deserialize<'de> for KeybindingsConfigwhere
KeybindingsConfig: Default,
impl<'de> Deserialize<'de> for KeybindingsConfigwhere
KeybindingsConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for KeybindingsConfig
impl RefUnwindSafe for KeybindingsConfig
impl Send for KeybindingsConfig
impl Sync for KeybindingsConfig
impl Unpin for KeybindingsConfig
impl UnsafeUnpin for KeybindingsConfig
impl UnwindSafe for KeybindingsConfig
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
Mutably borrows from an owned value. Read more