Desktop Tools and Development Environment Previous page   Next Page

Keyboard and Mouse Shortcuts in the Editor/Debugger

Following is the list of keys that serve as shortcuts for using the Editor/Debugger. This list does not include shortcut keys (sometimes called hot keys) for menu items--you can view those on the menus. If you select the Emacs Key Bindings for the Editor/Debugger preference, you can also use the Ctrl+key combinations shown. See also general desktop Keyboard Shortcuts (Accelerators) and Mnemonics.

Key or Mouse Action
Additional Control Key for Emacs Preference
Operation 
Up arrow key
Ctrl+P
Move to previous line.
Down arrow key
Ctrl+N
Move to next line.
Ctrl+Up arrow key
None
Scroll up without moving cursor position (with cell mode disabled).
Move to top of current cell or top of previous cell (with cell mode enabled).
Ctrl+Down arrow key
None
Scroll down without moving cursor position (with cell mode disabled).
Move to top of next cell (with cell mode enabled).
Ctrl+Home
None
Move to top of file.
Ctrl+End
None
Move to end of file.
Page Down
Ctrl+V
Move down one screen.
Page Up
Alt+V
Move up one screen.
Left arrow key
Ctrl+B
Move back one character.
Right arrow key
Ctrl+F
Move forward one character.
Ctrl+Right arrow key
None
Move right one word.
Ctrl+Left arrow key
None
Move left one word.
Home
Ctrl+A
Move to beginning of line.
End
Ctrl+E
Move to end of line.
Delete
Ctrl+D
Delete character after cursor.
Backspace
none
Delete character before cursor.
none
Ctrl+K
Cut contents (kill) to end of line.
Double-click
None
Select current word.
Triple-click
None
Select current line.
Shift+Home
None
Select to beginning of line.
Ctrl+Shift+Right arrow key
None
Select word to the right.
Ctrl+Page Up
Ctrl+Shift+V
Select one screen up.
Ctrl+Shift+Home
None
Select to top of file.
Ctrl+Shift+Left arrow key
None
Select word to the left
Shift+End
None
Select to end of line.
Ctrl+Page Down
Alt+Shift+V
Select one screen down.
Ctrl+Shift+End
None
Select to end of file.
Shift+Enter
None
Adds a new line that is not indented.
Insert
None
Change to overwrite mode from insert mode, or change to insert mode from overwrite mode. View current mode in the status bar: OVR is gray for insert mode. In overwrite mode, what you type replaces existing text, and the cursor is a wide block.


Previous page  Appearance of an M-File Navigating in an M-File Next page

© 1994-2005 The MathWorks, Inc.