Search and Replace
- S patterntext
- search for patterntext; cursor moves as you type. Press
once at the correct location
- R patterntext
- search backwards for patterntext; cursor moves as you type.
- S
- search for the next occurrence
- %
oldstring
newstring
- Search for oldstring and replace it with newstring.
The Y key confirms each replacement,
N skips it, Q to exit
| Regions
- SPC
- set mark at cursor
- W
- kill region
- W
- copy region to kill ring
- Y
- yank back last thing killed
| Loading and Saving
- X
F
filename
- create new filename for editing (clears workspace)
- X
F
filename
- load in filename for editing
- X
W
filename
- write (save) as filename
- X
S
- resave under the current filename (based on above
or name given when starting xemacs)
|