University of Rochester Medical Center
SearchDirectoryNewsEventsStrong HealthURMC Home

SAS Helpful Hints

PC SAS Editor Keyboard Commands
(Tools for Macros, a.k.a. learn sequences!)

The keyboard commands listed below allow you to record a sequence of keystrokes that can be assigned to a single key to repeat the sequence.

 
Cursor Movement

^RIGHT ARROW Move by word
^LEFT ARROW Move backward by word
HOME Move to beginning of line
END Move to end of line
^HOME Move to top of text
^END Move to bottom of text

 
Cut and Paste

SHIFT while moving Select text
ALT while moving mouse Selects columns of text(Box select)
^X Cut
^C Copy
^V Paste
^Z Undo

 
Deletion

^DELETE Delete to end of word
HOME SHIFT+DOWN DELETE Delete line
HOME SHIFT+DOWN ^X Delete line

 
Other Fun Features

INSERT Insert/Overstrike toggle
SHIFT^L Convert selected text to lower case
SHIFT^U Convert selected text to upper case
ALT+SHIFT+R Begin/end macro

 
^: Control

For more keyboard assignments, click on Tools -> Options -> Enhanced Editor Keys.

Please send your comments and suggestions about this web page to A. Watts (watts@bst.rochester.edu)