Emacs Editor Flashcards
what is the common terminology used for emacs editor?
Note: <C-c> and <C-p> represents "Ctrl+c" and "Ctrl+v" respectively.</C-p></C-c>
How to save buffer to file?
C-x C-s | Save buffer to file
How are the cursor positions moved in emacs editors?
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