
(And scintilla messages are unique, in that you can actually map a given message to more than one shortcut. There’s actually a third, SCI_LINEENDDISPLAY (2347, default mapped to Alt+END), which behaves similarly to 2451, except hitting it a second time leaves the cursor where it is.Īny of those Scintilla messages can be mapped to whatever keyboard keys are convenient. As examples, F1 and F2 decrease and increase screen brightness respectively. From now on each time you restart Windows your keyboard shortcuts will be ready for you to use. The Startup items folder will open, make a shortcut or a copy of your script file on this folder. Paste the following line: shell:common startup. Each key has a printed indicator for what function it will perform. To do so, just press the Windows key + R to open the Run dialogue. If you do have line-wrap turned on, SCI_LINEEND will take you to the end of the actual line (so if the line wraps so it takes up 3 displayed “rows” on the screen, it will take you to the end of the third row) whereas SCI_LINEENDWRAP will take you to the end of the current displayed “row” (so if the line wraps so it takes up 3 displayed “rows” on the screen, it will take you to the end of whichever row your cursor was on) – though if you’re already at the end of the “row”, running SCI_LINEENDWRAP again will take you to the end of the full line. The function keys on your keyboard are on the top row, starting with F1 and ending with F12. If you don’t have line-wrap turned on, they both behave the same. That said, there are SCI_LINEEND (scintilla message id 2314) and SCI_LINEENDWRAP (2451) – by default, 2314 is unmapped, and 2451 is mapped to END key. With newer Notepad++ (like v7.6.6), you can filter on something like LINEEND, and it will make it easier to find than scrolling through 62 (more or less) rows. Look for option #62 called SCI_LINEEND (at least it’s #62 in my version)
