1.11 – Turbo C cursor movement and editing commands

by subbu on August 4, 2013

Turbo C cursor movement and editing commands:

Cursor movements and editing commands are different in Turbo C from other editors. In this session we will see different cursor movement and editing commands used in Turbo C IDE
Simple C program

Basic Cursor Movement Commands in Turbo C IDE

Character left Left Arrow Key
Character right Right Arrow Key
Line up Up Arrow Key
Line down Down Arrow Key
Scroll up Ctrl-W
Scroll down Ctrl-Z
Page up PgUp
Page down PgDn

Quick Cursor Movement Commands in Turbo C IDE

Beginning of line Home
End of line End
Beginning of file Ctrl Home
End of file Ctrl End
Beginning of screen Alt Home
End of screen Alt End

Insert and Delete Commands in Turbo C IDE

Insert Mode On/Off Insert
Delete line Ctrl-Y
Deleting a word Ctrl-T

Block Commands in Turbo C IDE

Mark block begin ctrl-KB
Mark block end ctrl-KK
Copy marked block ctrl-KC
Move marked block ctrl-KV
Delete Marked Block ctrl-Del
Write block to file ctrl-KW
Read from a file ctrl-KR

How to select the text in Turbo C IDE:

  1. place the cursor at the beginning of block
  2. press ctrl-KB
  3. place the cursor at the end of block
  4. press ctrl-KK

How to copy text in Turbo C IDE

  1. Select the text using ctrl-KB and ctrl-KK
  2. place the cursor where you want to paste
  3. press ctrl-KC

How to move the text in Turbo C IDE

  1. Select the text using ctrl-KB and ctrl-KK
  2. place the cursor where you want to paste
  3. press ctrl-KV

Miscellaneous Commands in Turbo C IDE.

Load file F3
Save F2
Quit Turbo C alt-X
Find ctrl-QF
Undo ctrl-Backspace
Redo shift-ctrl-Backspace

Previous post:

Next post: