I know this is completely unreasonable feature for a text editor to have, however, when I edit various files, I almost always have to do it at the end of the file.

Is there a feature in Notepad++ that will move the cursor, caret and focus to the bottom of the file?

Or perhaps open Notepad++ with a command-line parameter that forces cursor to the bottom

  • Record a macro (or Python script plugin) which does a File Open followed by Ctrl+End. Assign this to your favourite shortcut, such as Ctrl+Shift+O. Sep 4 '18 at 12:03
  • Since the answer is not / no longer "no", consider accepting Gnubie's answer since it explicitly covers the command-line option you ask about.
    – Lilienthal
    Sep 26 '18 at 12:10

No. But you have two options:

  • Notepad++ is GNU. Get the sources, patch, build.
  • Open the file, hit Ctrl+End
  • 2
    Ctrl+End is reasonable easy and convenient.
    – deddebme
    Oct 22 '09 at 18:08
  • Ctrl+End is the basic shortcut for any text editors
    – phuclv
    Jul 6 '18 at 8:22
  • Is it in the menu? Just a shortcut is some kind of ugly I am afraid.
    – Timo
    Mar 27 at 20:41

If you open files from a shortcut or command line, you can add flags to specify the line number and column to place the cursor, e.g.

"notepad++.exe" -n12 -c34 license.txt

(note no spaces between -n/-c and line/column numbers).

To open the file at the bottom, use a very large line number, e.g.

"notepad++.exe" -n999999 filename
  • This goes to bottom indeed. But unfortunately it scrolls almost at the end of the file. This is odd.
    – Odys
    Dec 1 '12 at 11:16
  • 3
    Notepad++ (5.8.6 at least) has an annoying bug which scrolls to the physical line (as determined by newline characters) without taking into account the number of lines shown onscreen. If word wrap is enabled and any of the lines above this line wrap, it can be pushed offscreen, even though the cursor is at the right place.
    – Gnubie
    Dec 3 '12 at 12:48
  • 1
    Notepad++ 7.8.8 and perhaps some other older releases had a bug with moving the cursor but not scrolling the viewport with word wrap enabled. This is fixed in 7.9.
    – Lilienthal
    Oct 23 '20 at 6:52

You can not only see the updated file but also always shift to the updated line i.e. e.o.f. like in case of viewing logs.

Settings -> Preferences -> MISC

Tick **Update silently**

Tick **scroll to the last line after update**.

enter image description here

  • How does it work, as soon as I change a file, it moves to the end of file? No it does not.
    – Timo
    Mar 27 at 20:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.