Is it possible to disable or lock the zoom feature in Notepad++?

I'm doing a lot of copying and pasting, and the zoom level keeps changing on me. It's driving me nuts!

  • 1
    Should be migrated to Superuser
    – user36099
    Commented Aug 17, 2009 at 21:09

7 Answers 7


Previously, I "Seriously ... cannot imagine a scenario where you're accidentally zooming." The hot keys involve Control-Mousewheel, or Control-Keypad-plus-or-minus. (If you'll excuse the description). These aren't near or similar to Control-C and Control-V. So you must be holding the control key while meaning to scroll in the document.

It was just pointed out to me that the trackpad might also be an issue (Jim himself said it was his mouse and he changed his mouse for resolving this). If it's the trackpad then you'd have to try to find a palm rejection sensitivity setting to tweak, which might not be available, or try remapping the zoom shortcuts, or try the plugin from Stan which disables zooming (I like that option a lot).

Anyway, it's been a while since I used it, but I'm told you can edit the shortcuts in the settings > shortcut mapper.

  • No, you can edit NPP shortcuts now, going to Settings > Shortcut mapper. Commented Aug 20, 2009 at 2:38
  • @Igoru thanks, I've edited the answer to reflect this.
    – dlamblin
    Commented Aug 20, 2009 at 8:39
  • 2
    Some mouse wheels are a bit finicky and can scroll when you aren't touching the wheel (eg. you stopped turning just before the next skip, and a minute later it is jostled passed it). If you're hold control at the time, you zoom. This happens to me all the time. Commented Jan 13, 2010 at 18:02
  • @Strilanc I never encountered this but it sounds aggravating. Consider buying another mouse. I'm happy with my logitech.com/index.cfm/428/3287&hub=1&cl=us,en
    – dlamblin
    Commented Jan 16, 2010 at 22:19
  • 1
    dlamblin, it happens when you Ctrl+C and then start scrolling a split second before you let go of Ctrl. Happens to me from time to time -- it just depends on the user. Commented Jun 9, 2012 at 23:52

To disable mouse zooming, I wrote a small plugin for Notepad++ which does it.

Also, there is a 64-bit version of the plugin.

  • 2
    Thanks, that helped somewhat (better than answers to the effect of "buy a new mouse", at least). What I really want, though, is a way to remap the hotkeys - they aren't in the Shortcut Mapping menu, and I don't have a numeric keypad on my computer.
    – Enno
    Commented Mar 19, 2015 at 13:38
  • @BibaswannBandyopadhyay I'm glad that it helped you. :-)
    – StanE
    Commented May 15, 2015 at 23:13
  • this is the best and easy. Thanks! why repo is archived? not envisioning changes for new n++ versions? Commented Sep 25, 2023 at 16:38
  • 1
    @PawelCioch I'm no longer maintaining the repository due to missing time and interest. The plugin should however still work in current NPP versions, I think. The compiled binaries and the sourecode are still available. Also, someone wrote me that they will integrate this functionality in their own plugin, so you might find it there. In case you want to implement it yourself: Just catch the message SCN_ZOOM and send the message SCI_SETZOOM with a fixed value which represents the zoom value in the scintilla window. That's basically all the plugin does.
    – StanE
    Commented Sep 27, 2023 at 16:14

I don't have that issue. The only way it zooms is if you use CTRL-MouseWheel, or by CTRL-KP+ or CTRL-KP-. Most likely, you are trying to scroll the document when you still have CTRL held down (or active via StickyKeys.)

Best recommendation is to use CTRL-KP/ to reset the zoom.


I have a logitech mouse and love it. It has a mousewheel that doesn't 'click' as you scroll, but operates more like a flywheel... So, when I scroll somewhere and then start using the keyboard (for example, Ctrl + C), suddenly I've zoomed. Most annoying ;)

Changing shortcuts isn't the issue here. It's the way we use an editor and it's not really the mouse's problem.

PS: I can do a 'hard' center click on my mouse and it changes it from 'flywheel mode' to 'click mode' and back. It is the only workaround I have...and Notepad++ is the only program I need to do this with.


the problem is not necessary that you zoom accidentally, the problem is that some plugins revert to default zoom level. I would like to have a way to change default zoom level, or lock it.

  • 1
    As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
    – Community Bot
    Commented Oct 25, 2021 at 16:31

Maybe this will be useful reference on the topic?



The zooming is happening (I think) because I have a cheap Microsoft mouse, and the scroll wheel sometimes doesn't roll all the way to the next tick when I stop scrolling. Then, later, when I'm using Ctrl + C/Ctrl + V to copy and paste the wheel snaps into place, thus causing what appears to be a spontaneous zoom.

Unfortunately, because this problem is occurring on my PC at work, I don't have the option of replacing the mouse, which would be my normal solution. So, what I would like to do, if possible, is disable or lock the zoom feature on Notepad++.

  • 1
    I ended up getting a better mouse.
    – Jim Fell
    Commented Aug 11, 2010 at 20:07
  • 1
    IMHO, You shouldn't accept your own answer with so many answers that really do answer the question you asked Commented Jan 22, 2018 at 14:05
  • Some computer mice have a mode that either makes the wheel freewheeling or "clicking" (like in cmroanirgo's answer). Commented Jul 17, 2018 at 18:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .