Note that below
Start emacs with
emacs -Q file.txt
and you will not have to experinece the annoying split-screen view.
1) Useful keyboard commands.
ctrl-a | Go to the beginning of line |
ctrl-e | Go to the end of line |
ctrl-n | Go to the next line |
ctrl-p | Go to the previous line |
ctrl-x u | Undo the previous command |
esc < | Go to the beginning to the file |
2) Removing rectangle areas from the text:
3) Using emacs macros :
You can teach emacs a keyboard sequence and easily repeat that sequence as many times as you wish.
The recorded keyboard sequence can be replayed by ctrl-e.
If you want to repeat it many times just pressing e after the first ctrl-e is enough.