From 0cc68da04f109f66159aadc2404e232ab96bb97e Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Sun, 5 Jan 2020 04:54:14 +0300 Subject: Add `Minimize` binding action Fixes #2534. --- alacritty/src/config/bindings.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'alacritty/src/config/bindings.rs') diff --git a/alacritty/src/config/bindings.rs b/alacritty/src/config/bindings.rs index dbe5d42e..d12c5708 100644 --- a/alacritty/src/config/bindings.rs +++ b/alacritty/src/config/bindings.rs @@ -167,6 +167,9 @@ pub enum Action { /// Hide the Alacritty window. Hide, + /// Minimize the Alacritty window. + Minimize, + /// Quit Alacritty. Quit, @@ -430,6 +433,7 @@ pub fn platform_key_bindings() -> Vec { Key::V, ModifiersState::LOGO; Action::Paste; Key::C, ModifiersState::LOGO; Action::Copy; Key::H, ModifiersState::LOGO; Action::Hide; + Key::M, ModifiersState::LOGO; Action::Minimize; Key::Q, ModifiersState::LOGO; Action::Quit; Key::W, ModifiersState::LOGO; Action::Quit; ) -- cgit