From e2eb5bbd2e564710d35d06f04789486b227ffeb8 Mon Sep 17 00:00:00 2001 From: Aaron Goodfellow Date: Fri, 15 Mar 2019 16:41:48 -0400 Subject: Add additional key bindings for changing font size This fixes #2010. --- src/config/bindings.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/config/bindings.rs b/src/config/bindings.rs index 410b6804..3e76acc1 100644 --- a/src/config/bindings.rs +++ b/src/config/bindings.rs @@ -186,7 +186,9 @@ pub fn platform_key_bindings() -> Vec { Key::Insert, [shift: true]; Action::PasteSelection; Key::Key0, [ctrl: true]; Action::ResetFontSize; Key::Equals, [ctrl: true]; Action::IncreaseFontSize; + Key::Add, [ctrl: true]; Action::IncreaseFontSize; Key::Subtract, [ctrl: true]; Action::DecreaseFontSize; + Key::Minus, [ctrl: true]; Action::DecreaseFontSize; ) } @@ -196,6 +198,7 @@ pub fn platform_key_bindings() -> Vec { KeyBinding; Key::Key0, [logo: true]; Action::ResetFontSize; Key::Equals, [logo: true]; Action::IncreaseFontSize; + Key::Add, [logo: true]; Action::IncreaseFontSize; Key::Minus, [logo: true]; Action::DecreaseFontSize; Key::K, [logo: true]; Action::ClearHistory; Key::K, [logo: true]; Action::Esc("\x0c".into()); -- cgit