Skip to content

Commit

Permalink
Merge pull request #237 from Kartonrealista/master
Browse files Browse the repository at this point in the history
Add 'Ctrl' + '+' as a zoom-in shortcut
  • Loading branch information
jackpot51 authored Jul 8, 2024
2 parents 09e2073 + 4e6086e commit 0bf777e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/key_bind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0bf777e

Please sign in to comment.