ungleich-learning-circle/kjg/learning-elfui-MacBook-Pro....

1.8 KiB

TODO ungleich-learning-circle

DEADLINE: <2020-05-31 Sun>

Organisation #5: Emacs refresher

Lecture content
Objective: get confident with emacs commands
Find out and document how to do the following steps
DONE Search for something forward : C-s
DONE How to continue searching : continue C-s
DONE Search for something backward : C-r
DONE Search for regular expressions instead of string (forward, backward) : C-M(alt)-s , C-M(alt)-r
DONE Go to the beginning of the line : C-a
DONE Go to the end of the line : C-e
DONE Delete a word in front (to the right of the cursor) : M-d
DONE Delete a word in back (to the left of the cursor) : M-<backspace>
DONE List all "occurences" of a word in a file : M-x occur
You can copy above instructions into an emacs buffer
And test it by showing all occurences of the word "Search"
DONE Search (GREP) for a word in all files in a directory RECURSIVELY : M-x rgrep
DONE Save the CURRENT buffer : C-x C-s
DONE Save ALL open files : C-x s
DONE Split the window/buffer vertically : C-x 3
DONE Split the window/buffer horizontally : C-x 2
DONE Switch between the different windows : C-x o
DONE Close all buffers besides the active one : C-x 1
Don't kill it!
DONE Close only the active buffer : C-x 0
Don't kill it
DONE Kill the active buffer : C-x k
DONE Describe/Explain the difference between closing and killing : closing -> close one of buffer / killing -> release memory of buffer
DONE Switch between buffers that are not shown
TODO Document two very similar, but slightly different ways : C-x b space
Outcome
DONE Document all above commands in your learning org sheet
TODO Share your documentation