2.9 KiB
2.9 KiB
- 2020-05-01
- Organisation #5: Emacs refresher
- Lecture content
- Objective: get confident with emacs commands
- Find out and document how to do the following steps
- Search for something forward C-s
- How to continue searching C-s C-s
- Search for something backward C-r
- Search for regular expressions instead of string (forward, backward) C-M-s C-M-r
- Go to the beginning of the line C-a
- Go to the end of the line C-e
- Delete a word in front (to the right of the cursor) M-d
- Delete a word in back (to the left of the cursor) M-BackSpace
- List all "occurences" of a word in a file M-s o
- Search (GREP) for a word in all files in a directory RECURSIVELY M-x rgrep
- Save the CURRENT buffer C-x C-s
- Save ALL open files C-x-s
- Split the window/buffer vertically C-x 2
- Split the window/buffer horizontally C-x 3
- Switch between the different windows C-x o
- Close all buffers besides the active one C-x 1
- Close only the active buffer C-x 0
- Kill the active buffer C-x k
- Describe/Explain the difference between closing and killing
- Switch between buffers that are not shown C-x b
- Outcome
- Lecture content
- Organisation #5: Emacs refresher
2020-05-01
Organisation #5: Emacs refresher
Lecture content
Objective: get confident with emacs commands
Find out and document how to do the following steps
CLOSED: [2020-05-01 금 21:40]
CLOSED: [2020-05-01 금 21:43]
CLOSED: [2020-05-01 금 21:55]
CLOSED: [2020-05-01 금 22:25]
CLOSED: [2020-05-01 금 22:16]
CLOSED: [2020-05-01 금 22:16]
CLOSED: [2020-05-01 금 22:17]
CLOSED: [2020-05-01 금 22:18]
CLOSED: [2020-05-01 금 22:53]
CLOSED: [2020-05-01 금 22:46]
CLOSED: [2020-05-01 금 21:55]
CLOSED: [2020-05-01 금 22:22]
CLOSED: [2020-05-01 금 21:48]
CLOSED: [2020-05-01 금 21:48]
CLOSED: [2020-05-01 금 21:48]
CLOSED: [2020-05-01 금 21:47]
CLOSED: [2020-05-01 금 21:54]
CLOSED: [2020-05-01 금 21:44]
CLOSED: [2020-05-01 금 22:09]
CLOSED: [2020-05-01 금 21:51]
CLOSED: [2020-05-01 금 23:28]
C-x b is that the selected buffer is displayed on the focused window
C-x 4 b is that the selected buffer is displayed on the new window
Outcome
CLOSED: [2020-05-01 금 23:28]
CLOSED: [2020-05-01 금 23:28]