Working With Emacs: Linux Foundation
Working With Emacs: Linux Foundation
Key
myfile
i
s
Ctrl-w
Ctrl-x Ctrl-s
Ctrl-x Ctrl-c
Usage
Start emacs and edit myfile
Insert prompted for file at current position
Write to the file keeping current name
Write to the file giving a new name when
prompted
Write to all files currently being worked on and
exit
Exit after being prompted if there any unwritten
modified files
Usage
Use the arrow keys for up, down, left and right
one line down
one line up
one character left
one character right
move to beginning of line
move to end of line
move to beginning of next word
move back to beginning of preceding word
move to beginning of file
goto-line n move to line n
move to end of file
move forward one page
move backward one page
refresh and center screen
Usage
search forward for prompted for pattern, or for next
pattern
Introduction to Linux
1 of 2
Ctrl-r
Usage
Insert a blank line.
Delete character at current position.
Delete the rest of the current line.
Undo the previous operation.
Mark the beginning of the selected region. The end will
be at the cursor position.
Delete the current marked text and write it to the
buffer.
Insert at current cursor location whatever was most
recently deleted
Introduction to Linux
2 of 2