ungleich-learning-circle/kjg/learning-elfui-MacBook-Pro.local-2020.org
2020-05-01 23:06:55 +09:00

2.7 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

CLOSED: [2020-05-01 Fri 23:05]

DONE How to continue searching : continue C-s

CLOSED: [2020-05-01 Fri 23:05]

DONE Search for something backward : C-r

CLOSED: [2020-05-01 Fri 23:05]

DONE Search for regular expressions instead of string (forward, backward) : C-M(alt)-s , C-M(alt)-r

CLOSED: [2020-05-01 Fri 23:05]

DONE Go to the beginning of the line : C-a

CLOSED: [2020-05-01 Fri 23:05]

DONE Go to the end of the line : C-e

CLOSED: [2020-05-01 Fri 23:05]

DONE Delete a word in front (to the right of the cursor) : M-d

CLOSED: [2020-05-01 Fri 23:05]

DONE Delete a word in back (to the left of the cursor) : M-<backspace>

CLOSED: [2020-05-01 Fri 23:05]

DONE List all "occurences" of a word in a file : M-x occur

CLOSED: [2020-05-01 Fri 23:05]

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

CLOSED: [2020-05-01 Fri 23:05]

DONE Save the CURRENT buffer : C-x C-s

CLOSED: [2020-05-01 Fri 23:05]

DONE Save ALL open files : C-x s

CLOSED: [2020-05-01 Fri 23:05]

DONE Split the window/buffer vertically : C-x 3

CLOSED: [2020-05-01 Fri 23:05]

DONE Split the window/buffer horizontally : C-x 2

CLOSED: [2020-05-01 Fri 23:05]

DONE Switch between the different windows : C-x o

CLOSED: [2020-05-01 Fri 23:05]

DONE Close all buffers besides the active one : C-x 1

CLOSED: [2020-05-01 Fri 23:04]

Don't kill it!
DONE Close only the active buffer : C-x 0

CLOSED: [2020-05-01 Fri 23:04]

Don't kill it
DONE Kill the active buffer : C-x k

CLOSED: [2020-05-01 Fri 23:04]

DONE Describe/Explain the difference between closing and killing : closing -> close one of buffer / killing -> release memory of buffer

CLOSED: [2020-05-01 Fri 23:04]

DONE Switch between buffers that are not shown

CLOSED: [2020-05-01 Fri 23:04]

DONE Document two very similar, but slightly different ways : C-x b space

CLOSED: [2020-05-01 Fri 23:04]

Outcome
DONE Document all above commands in your learning org sheet

CLOSED: [2020-05-01 Fri 23:05]

DONE Share your documentation

CLOSED: [2020-05-01 Fri 23:04]