diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-06-04 15:14:13 -0400 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-06-04 15:14:13 -0400 |
commit | fd4bd6f79ec8051c91f69543fc20d5e8d6607f13 (patch) | |
tree | dda624a98d9aec467f2b7a11375b682e38739169 /src/commands/mod.rs | |
parent | a521ceb379c34c854fb4e9848c0bcb7d28b46f4f (diff) |
cargo fmt
Diffstat (limited to 'src/commands/mod.rs')
-rw-r--r-- | src/commands/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/mod.rs b/src/commands/mod.rs index 8e98072..e8d165f 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -38,9 +38,9 @@ pub use self::show_hidden::ToggleHiddenFiles; pub use self::tab_operations::{CloseTab, NewTab}; pub use self::tab_switch::TabSwitch; -use std::collections::HashMap; use std::path::PathBuf; +use crate::config::JoshutoCommandMapping; use crate::context::JoshutoContext; use crate::error::{JoshutoError, KeymapError}; use crate::window::JoshutoView; @@ -50,7 +50,7 @@ use crate::HOME_DIR; #[derive(Debug)] pub enum CommandKeybind { SimpleKeybind(Box<JoshutoCommand>), - CompositeKeybind(HashMap<i32, CommandKeybind>), + CompositeKeybind(JoshutoCommandMapping), } pub trait JoshutoRunnable { |