Emacs Editor Flashcards

1
Q

what is the common terminology used for emacs editor?

A

Note: <C-c> and <C-p> represents "Ctrl+c" and "Ctrl+v" respectively.</C-p></C-c>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to save buffer to file?

A

C-x C-s | Save buffer to file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How are the cursor positions moved in emacs editors?

A

C-a (Command: beginning-of-line)
Moves the cursor to the beginning of the current line.
Position: Line 1, Column 1

C-e (Command: end-of-line)
Moves the cursor to the end of the current line.
Position: Line 1, Last Column (end of the line)

C-b (Command: backward-char)
Moves the cursor one character backward.
Position: Line 1, Second Last Column (one character back from the end of the line)

C-n (Command: next-line)
Moves the cursor to the next line.
Position: Line 2, Second Last Column (same column as previous line due to same line length)

C-n (Command: next-line)
Moves the cursor to the next line.
Position: Line 3, Second Last Column

C-n (Command: next-line)
Moves the cursor to the next line.
Position: Line 4, Second Last Column

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly