diff options
author | Aaron Goodfellow <amgoodfellow@oakland.edu> | 2019-03-15 16:41:48 -0400 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2019-03-15 20:41:48 +0000 |
commit | e2eb5bbd2e564710d35d06f04789486b227ffeb8 (patch) | |
tree | 3bbaab6454cb823659ab2acb8df25f86d815f938 /src | |
parent | 94cf97b42d9835976bc99463fc4e96330ceb0068 (diff) | |
download | alacritty-e2eb5bbd2e564710d35d06f04789486b227ffeb8.tar.gz alacritty-e2eb5bbd2e564710d35d06f04789486b227ffeb8.zip |
Add additional key bindings for changing font size
This fixes #2010.
Diffstat (limited to 'src')
-rw-r--r-- | src/config/bindings.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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<KeyBinding> { 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> { 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()); |