| Search and Replace
![[Ctrl]](../../../Images/ctrl.gif) S patterntext ![[Enter]](../../../Images/enter.gif) search for patterntext; cursor moves as you type. Press
![[Enter]](../../../Images/enter.gif) once at the correct location![[Ctrl]](../../../Images/ctrl.gif) R patterntext ![[Enter]](../../../Images/enter.gif) search backwards for patterntext; cursor moves as you type.
![[Ctrl]](../../../Images/ctrl.gif) S ![[Enter]](../../../Images/enter.gif)  ![[Enter]](../../../Images/enter.gif) search for the next occurrence
![[Esc]](../../../Images/esc.gif) %
oldstring ![[Enter]](../../../Images/enter.gif) newstring ![[Enter]](../../../Images/enter.gif) Search for oldstring and replace it with newstring.
The Y key confirms each replacement, 
N skips it, Q to exit
 | Regions
![[Ctrl]](../../../Images/ctrl.gif) SPCset mark at cursor
![[Ctrl]](../../../Images/ctrl.gif) Wkill region
![[Esc]](../../../Images/esc.gif) Wcopy region to kill ring
![[Ctrl]](../../../Images/ctrl.gif) Yyank back last thing killed
 | Loading and Saving
![[Ctrl]](../../../Images/ctrl.gif) X ![[Ctrl]](../../../Images/ctrl.gif) F
filenamecreate new filename for editing (clears workspace)
![[Ctrl]](../../../Images/ctrl.gif) X ![[Ctrl]](../../../Images/ctrl.gif) F
filenameload in filename for editing
![[Ctrl]](../../../Images/ctrl.gif) X ![[Ctrl]](../../../Images/ctrl.gif) W
filenamewrite (save) as filename
![[Ctrl]](../../../Images/ctrl.gif) X ![[Ctrl]](../../../Images/ctrl.gif) Sresave under the current filename (based on above
or name given when starting emacs)
 |