Optional selection from 5 million+ lines in Notepad++


I have a 5 million plus line plain text file. Windows Notepad can't do anything and gets stuck when double clicking the file. Notepad++ is able to open the file though, even with 5M lines.
I want to split the file into 10 single text files – i.e. the first 50K lines would be in an individual file, and so the next and next.

The problem is that when I Ctrl+G and go to the 50kth line, I have to hold shift, pressing the up arrow until the first 50k lines are selected. It takes several minutes. Is there any easier way to split up the files?

Best Answer

Shift-control-home will highlight from the current position to the top of the file.