One minute
Emacs modifications
Summary
This is a list of some niggles and how I deal with them as a reference.
Deleting the first ‘x’ characters from every line in a region with Emacs.
You use your mark tool (‘C-Spc’) to highlight a box area and then use the command ‘C-x r k’ to remove this square/rectangle.
Don’t worry about the mark tool highlighting the edges of lines in between, they won’t be clipped.
Handy way to append a flag to the end of a line.
Command: M-< M-x replace-regexp RET $ RET a RET
This will place an ‘a’ at the end of all lines. The $ matches the end-of-line character.
Also one of the other answers shows how to use key-macros so could be handy later.
Reload configurations without restarting Emacs
A quick way to reload your .emacs after making changes, to save a restart.
``` html // M-x eval-buffer ```
Finding location of .emacs file.
C-h v ‘user-init-file’