How can I 'select to end of file' in Notepad?

34

12

Temporarily stuck with Notepad, I'd like to know if there is any better or quicker way of selecting from here to the end of the file than moving the mouse to the bottom of the screen and then vigorously from side to side (which is more exercise than I expect to get at a computer).

Brian Hooper

Posted 2011-06-01T11:52:41.990

Reputation: 1 755

1All of my exercise comes from a computer so I better take what little I can find (: – chessofnerd – 2015-02-17T21:09:01.793

Did you try the "End" button and "Ctrl"+"End"? – David – 2011-06-01T11:56:47.493

Answers

76

Place the cursor at the start of your selection then:

Ctrl + Shift + End

To select to the end of notepad.

Chris Kent

Posted 2011-06-01T11:52:41.990

Reputation: 1 301

Works with Notepad++ as well – ThomasRones – 2019-12-11T12:56:41.460

2Thanks, Phydaux. It would never have entered my head to try that. – Brian Hooper – 2011-06-01T12:06:05.763

3@Brian Hooper, no problem. It's a fairly ubiquitous keyboard short cut. Ctrl + Shift + Home will take you to the start too. – Chris Kent – 2011-06-01T12:15:30.727

2To elaborate, End alone means go to the end of the line, Ctrl+End means go to the end of the line. Adding Shift to the mix selects along the way (as it would with just Shift and arrow keys or even the mouse) – 3Doubloons – 2011-06-01T13:31:37.100

@Alex I think you mean "file" in your second sentence ;) @Brian it works with other combinations of Ctrl and Shift, too. Ctrl+Right will move along words, for example. Holding Shift while making movements will select the text that you are moving over. Ctrl+Shift+Right will select a word at a time. Shift+PgDown will select from the current cursor position down a page. Play around with it. – Corey – 2011-06-01T16:36:36.257

@Corey: Maybe ;) – 3Doubloons – 2011-06-01T17:41:05.357

On my laptop, where end is doubled on the right arrow key instead, I additionally needed fn key for end of file. – wim – 2013-02-27T05:01:11.367

1

FYI in OSX you have to use the alternative key command like so:

control + fn + →

This arose when I was remote desktoping into a Windows 2000 server from my OSX laptop.

slm

Posted 2011-06-01T11:52:41.990

Reputation: 7 449

I think this is a bit irrelevant to this question, unless you want to post the possible combinations for all computer systems :) – leinad13 – 2017-01-27T18:16:29.737

1@leinad13 - I would typically not do this, but wasn't finding results when I googled, hence why I posted it. – slm – 2017-01-27T20:23:11.547

-1

In Microsoft Word on Mac, it took me several tries but this worked:

Shft + Fn + Cmd + Right Arrow

...to select to end of file and delete.

WAG

Posted 2011-06-01T11:52:41.990

Reputation: 1

The question doesn't mention a Mac. – RalfFriedl – 2019-01-29T19:58:24.623