Merge pull request #237 from Kartonrealista/master

Add 'Ctrl' + '+' as a zoom-in shortcut
This commit is contained in:
Jeremy Soller 2024-07-08 08:32:42 -06:00 committed by GitHub
commit 0bf777efcc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,7 +63,8 @@ pub fn key_binds() -> HashMap<KeyBind, Action> {
bind!([Ctrl], Key::Character("0".into()), ZoomReset);
bind!([Ctrl], Key::Character("-".into()), ZoomOut);
bind!([Ctrl], Key::Character("=".into()), ZoomIn);
bind!([Ctrl], Key::Character("+".into()), ZoomIn);
// Ctrl+Arrows and Ctrl+HJKL move between splits
bind!([Ctrl, Shift], Key::Named(Named::ArrowLeft), PaneFocusLeft);
bind!([Ctrl, Shift], Key::Character("H".into()), PaneFocusLeft);