Skip to content

Added option to disable ctrl+mousewheel zoom#46

Merged
mattrose merged 4 commits intognome-terminator:masterfrom
filipkilibarda:master
Jun 3, 2020
Merged

Added option to disable ctrl+mousewheel zoom#46
mattrose merged 4 commits intognome-terminator:masterfrom
filipkilibarda:master

Conversation

@filipkilibarda
Copy link
Copy Markdown
Contributor

@filipkilibarda filipkilibarda commented Apr 29, 2020

Addressing the longstanding Ctrl+scroll zoom in/out issue, as expressed in these old requests

What problem does this PR solve?

Some laptop users (including myself) often bump the trackpad while holding Ctrl, which results in the terminal drastically zooming in and out (it's super sensitive).

The usual fix to get around this was to press Ctrl+0 to reset the zoom everytime it happened, but this often fails to restore the original symmetry among split windows in apps like vim and tmux.

Needless to say, it's also annoying having to reset zoom scale so often.

What this PR does

  • Adds a checkbox to the Profiles > General section of terminator preferences
  • If checked, don't run the Ctrl+mousewheel signal handler that's responsible for zooming the terminal in and out
  • keyboard bindings for zooming still work

Thanks for taking over maintenance :) Cool to see this project active again!

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants