diff options
Diffstat (limited to 'schist_desktop_gui/src/config/keys.rs')
| -rw-r--r-- | schist_desktop_gui/src/config/keys.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/schist_desktop_gui/src/config/keys.rs b/schist_desktop_gui/src/config/keys.rs index ff28757..fef2dc3 100644 --- a/schist_desktop_gui/src/config/keys.rs +++ b/schist_desktop_gui/src/config/keys.rs @@ -11,6 +11,8 @@ pub struct Keyboard { pub goto_prev_item: KeyBind, pub goto_next_view: KeyBind, pub goto_prev_view: KeyBind, + pub expand_item: KeyBind, + pub collapse_item: KeyBind, pub goto_view_1: KeyBind, pub goto_view_2: KeyBind, pub goto_view_3: KeyBind, @@ -23,6 +25,8 @@ impl Default for Keyboard { goto_prev_item: KeyBind::goto_prev_item(), goto_next_view: KeyBind::goto_next_view(), goto_prev_view: KeyBind::goto_prev_view(), + expand_item: KeyBind::expand_item(), + collapse_item: KeyBind::collapse_item(), goto_view_1: KeyBind::goto_view_1(), goto_view_2: KeyBind::goto_view_2(), goto_view_3: KeyBind::goto_view_3(), @@ -37,6 +41,8 @@ impl Keyboard { shortcut(self.goto_prev_item.clone(), Command::GotoPrevItem), shortcut(self.goto_next_view.clone(), Command::GotoNextView), shortcut(self.goto_prev_view.clone(), Command::GotoPrevView), + shortcut(self.expand_item.clone(), Command::ExpandItem), + shortcut(self.collapse_item.clone(), Command::CollapseItem), shortcut(self.goto_view_1.clone(), Command::GotoView(View::VIEW_1)), shortcut(self.goto_view_2.clone(), Command::GotoView(View::VIEW_2)), shortcut(self.goto_view_3.clone(), Command::GotoView(View::VIEW_3)), |
