Google Groupes n'accepte plus les nouveaux posts ni abonnements Usenet. Les contenus de l'historique resteront visibles.

How to delete all text from beginning of buffer to mark

13 vues
Accéder directement au premier message non lu

Angus Comber

non lue,
8 mai 2017, 10:14:4308/05/2017
à
I am in a large file of text and my cursor is at the start of the text I want. I want to delete all the text before the cursor. I know I can set the mark using C-sp but how do I then select to the beginning of the file?

What is the best way to basically delete all text before the cursor in the buffer?

Loris Bennett

non lue,
8 mai 2017, 10:21:0208/05/2017
à
Angus Comber <angus...@gmail.com> writes:

> I am in a large file of text and my cursor is at the start of the text
> I want. I want to delete all the text before the cursor. I know I
> can set the mark using C-sp but how do I then select to the beginning
> of the file?

M-<

maybe?

Cheers,

Loris

--
This signature is currently under construction.
0 nouveau message