6.14 Keyboard shortcuts

A lot of keyboard shortcuts used by the IDE are compatible with WordStar and should be well known to Turbo Pascal users.

Below are the following tables:

1.
In table (6.4) some shortcuts for handling the IDE windows and Help are listed.
2.
In table (6.5) the shortcuts for compiling, running and debugging a program are presented.
3.
In table (6.6) the navigation keys are described.
4.
In table (6.7) the editing keys are listed.
5.
In table (6.8) all block command shortcuts are listed.
6.
In table (6.9) all selection-changing shortcuts are presented.
7.
In table (6.10) some general shortcuts, which do not fit in the previous categories, are presented.


Table 6.4: General

Command

Shortcut key Alternative



Help

F1

Goto last help topic

Alt-F1

Search word at cursor position in help

Ctrl-F1

Help index

Shift-F1

Close active window

Alt-F3

Zoom/Unzoom window

F5

Move/Zoom active window

Ctrl-F5

Switch to next window

F6

Switch to last window

Shift-F6

Menu

F10

Local menu

Alt-F10

List of windows

Alt-0

Active another window

Alt-<digit>

Call grep utility

Shift-F2

Exit IDE

Alt-X


Table 6.5: Compiler

Command

Shortcut key Alternative



Reset debugger/program

Ctrl-F2

Display call stack

Ctrl-F3

Run as far as the cursor

F4

Switch to user screen

Alt-F5

Trace into

F7

Add watch

Ctrl-F7

Step over

F8

Set breakpoint at current line

Ctrl-F8

Make

F9

Run

Ctrl-F9

Compile the active source file

Alt-F9

Message

F11

Compiler messages

F12


Table 6.6: Text navigation

Command

Shortcut key Alternative



Char left

Arrow left Ctrl-S

Char right

Arrow right Ctrl-D

Line up

Arrow up Ctrl-E

Line down

Arrow down Ctrl-X

Word left

Ctrl-Arrow left Ctrl-A

Word right

Ctrl-Arrow right Ctrl-F

Scroll one line up

Ctrl-W

Scroll one line down

Ctrl-Z

Page up

PageUp Ctrl-R

Page down

PageDown

Beginning of Line

Home Ctrl-Q-S

End of Line

End Ctrl-Q-D

First line of window

Ctrl-Home Ctrl-Q-E

Last line of window

Ctrl-End Ctrl-Q-X

First line of file

Ctrl-PageUp Ctrl-Q-R

Last line of file

Ctrl-PageDown Ctrl-Q-C

Last cursor position

Ctrl-Q-P

Find matching block delimiter

Ctrl-Q-[

Find last matching block delimiter

Ctrl-Q-]

Goto line number

CTRL-B Ctrl-Q-G


Table 6.7: Edit

Command

Shortcut key Alternative



Delete char

Del Ctrl-G

Delete left char

Backspace Ctrl-H

Delete line

Ctrl-Y

Delete till end of line

Ctrl-Q-Y

Delete till beginning of line

Ctrl-Q-H

Delete word

Ctrl-T

Insert line

Ctrl-N

Toggle insert mode

Insert Ctrl-V


Table 6.8: Block commands

Command

Shortcut key Alternative



Goto Beginning of selected text

Ctrl-Q-B

Goto end of selected text

Ctrl-Q-K

Select current line

Ctrl-K-L

Print selected text

Ctrl-K-P

Select current word

Ctrl-K-T

Delete selected text

Ctrl-Del Ctrl-K-Y

Copy selected text to cursor position

Ctrl-K-C

Move selected text to cursor position

Ctrl-K-V

Copy selected text to clipboard

Ctrl-Ins

Move selected text to the clipboard

Shift-Del

Indent block one column

Ctrl-K-I

Unindent block one column

Ctrl-K-U

Insert text from clipboard

Shift-Insert

Insert file

Ctrl-K-R

Write selected text to file

Ctrl-K-W

Uppercase current block

Ctrl-K-N

Lowercase current block

Ctrl-K-O

Uppercase word

Ctrl-K-F

Lowercase word

Ctrl-K-E

Toggle case

Ctrl-O-U


Table 6.9: Change selection

Command

Shortcut key Alternative



Mark beginning of selected text

Ctrl-K-B

Mark end of selected text

Ctrl-K-K

Remove selection

Ctrl-K-Y Ctrl-Del

Extend selection one char to the left

Shift-Arrow left Ctrl-Shift-A

Extend selection one char to the right

Shift-Arrow right Ctrl-Shift-F

Extend selection to the beginning of the line

Shift-Pos1

Extend selection to the end of the line

Shift-End

Extend selection to the same column in the last row

Shift-Arrow up

Extend selection to the same column in the next row

Shift-Arrow down

Extend selection to the end of the line

Shift-End

Extend selection one word to the left

Ctrl-Shift-Arrow left

Extend selection one word to the right

Ctrl-Shift-Arrow right

Extend selection one page up

Shift-PageUp

Extend selection one page down

Shift-PageDown

Extend selection to the beginning of the file

Ctrl-Shift-Pos1 Ctrl-Shift-PageUp

Extend selection to the end of the file

Ctrl-Shift-End Ctrl-Shift-PageUp


Table 6.10: Misc. commands

Command

Shortcut key Alternative



Save file

F2 Ctrl-K-S

Open file

F3

Search

Ctrl-Q-F

Search again

Ctrl-L 

Search and replace

Ctrl-Q-A

Set mark

Ctrl-K-n (where n can be 0..9)

Goto mark

Ctrl-Q-n (where n can be 0..9)

Undo

Alt-Backspace

Open File at cursor

Ctrl-Enter Ctrl-O-A